jamvm

changeset 406:2f855beaaf73

Document VM differences.

2008-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>

* src/natives.c:
Document VM differences.
author andrew
date Tue Aug 05 06:28:05 2008 +0100 (2008-08-05)
parents 99039a39df1f
children f5ea446164a8
files ChangeLog src/natives.c
line diff
     1.1 --- a/ChangeLog	Tue Aug 05 06:24:55 2008 +0100
     1.2 +++ b/ChangeLog	Tue Aug 05 06:28:05 2008 +0100
     1.3 @@ -5,6 +5,11 @@
     1.4  ==============
     1.5  2008-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
     1.6  
     1.7 +	* src/natives.c:
     1.8 +	Document VM differences.
     1.9 +	
    1.10 +2008-08-04  Andrew John Hughes  <gnu_andrew@member.fsf.org>
    1.11 +
    1.12  	* src/jni.c,
    1.13  	* src/symbol.h:
    1.14  	Support creating a DirectByteBuffer from JNI
     2.1 --- a/src/natives.c	Tue Aug 05 06:24:55 2008 +0100
     2.2 +++ b/src/natives.c	Tue Aug 05 06:28:05 2008 +0100
     2.3 @@ -48,6 +48,10 @@
     2.4  #endif
     2.5  
     2.6  void initialiseNatives() {
     2.7 +  /* VMDIFF: GNU Classpath support needs direct access to the
     2.8 +     protection domain field in java.lang.Class as this is stored
     2.9 +     by the library, not the VM as in OpenJDK.  OpenJDK needs
    2.10 +     libjava.so to be loaded. */
    2.11  #ifdef WITH_JAVA_RUNTIME_LIBRARY_CLASSPATH
    2.12      FieldBlock *pd = findField(java_lang_Class, SYMBOL(pd),
    2.13                                 SYMBOL(sig_java_security_ProtectionDomain));