[cp-patches] make jni.h C++ compatible with OpenJDK
twisti at complang.tuwien.ac.at
Mon Jun 23 14:47:56 UTC 2008
On Sun, 2008-06-22 at 10:15 -0600, Tom Tromey wrote:
> >>>>> "Twisti" == Christian Thalinger <twisti at complang.tuwien.ac.at> writes:
> Twisti> This patch renames the JNINativeInterface_ variable in
> Twisti> _Jv_JNIEnv to be compatible with OpenJDK. Without that it's
> Twisti> not possible to compile C++ code with both.
> Twisti> OK to commit?
> Yes, this is fine.
> I'm surprised that 'functions' is a public member. But, I suppose
> this must be done so that C++ code can easily determine if a given
> function is implemented by the VM.
2008-06-23 Christian Thalinger <twisti at complang.tuwien.ac.at>
* include/jni.h [__cplusplus] (_Jv_JNIEnv): Renamed member p to
functions to be compatible with OpenJDK.
More information about the Classpath-patches