Category: Proxy usage

Q

Can I find out which version of JuggerNET generated my .NET types?

A

Yes. Every proxy type declares an attribute that includes the version of the code generator that was used, for example:

    [Java_Lang_CharSequence_CodemeshJuggerNETAlias.JuggerNETProxyType(
        IsLeafType=false, 
        CodegenVersion="3.2.9.2047", 
        JavaName="java.lang.CharSequence")]
public interface CharSequence { ...
}

You can query this information programmatically or visually. This information is present in every generated type because one application might contain proxy types from different code generation sessions. While we recommend against mixing, it might happen accidentally, and this enumeration could prove invaluable in debugging such a case.


Copyright 2006-2011 by Codemesh, Inc., ALL RIGHTS RESERVED

:
frequently asked questions
home products support customers partners newsroom about us contact us