summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2010-08-10 20:45:13 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2010-08-10 20:45:13 +0000
commit7da2fbf12a6c1b6ffd24af9ee226ee36caf91162 (patch)
treee0d7d7e604de7b606ee4f9d2f0ec38e3cf39d3a2 /ChangeLog
parent98daf6c90b72e55a37927590f78be75b09eaf3a8 (diff)
downloadclasspath-7da2fbf12a6c1b6ffd24af9ee226ee36caf91162.tar.gz
jcl changes:
1. Minor fix for JCL_realloc() (don't call free(ptr) if ptr is null like in JCL_free); 2. 32/64-bit code variants collapsed by introducing several macros (which select the proper class name, primitive type, etc.); 3. new recognized macro (JCL_NO_JNIONLOAD) which removes the need for JNI_OnLoad (thus, if JCL_NO_JNIONLOAD is defined, it is possible to link jcl.c statically). 2010-04-12 Ivan Maidanski <ivmai@mail.ru> * native/jni/classpath/jcl.c: Simplify attribute #ifndef block. (JCL_POINTER_CLASSNAME): Define dependent on size of void*. (JCL_POINTER_DATASIGN): Likewise. (JCL_POINTER_INTTYPE): Likewise. (JCL_POINTER_GETFIELD): Likewise. (JNI_OnLoad): Define only if not JCL_NO_JNIONLOAD. Use JCL_POINTER_xxx macros instead of SIZEOF_VOID_P. (JCL_NewRawDataObject): Use JCL_POINTER_xxx macros instead of SIZEOF_VOID_P. Initialize rawDataClass, rawData_fid, rawData_mid global variables if JCL_NO_JNIONLOAD. (JCL_realloc): Don't call free() for NULL pointer. (JCL_GetRawData): Use JCL_POINTER_xxx macros instead of SIZEOF_VOID_P. Initialize rawDataClass, rawData_fid, rawData_mid global variables if JCL_NO_JNIONLOAD.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog17
1 files changed, 17 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e93d5e38f..a476759ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2010-04-12 Ivan Maidanski <ivmai@mail.ru>
+
+ * native/jni/classpath/jcl.c:
+ Simplify attribute #ifndef block.
+ (JCL_POINTER_CLASSNAME): Define dependent on size of void*.
+ (JCL_POINTER_DATASIGN): Likewise.
+ (JCL_POINTER_INTTYPE): Likewise.
+ (JCL_POINTER_GETFIELD): Likewise.
+ (JNI_OnLoad): Define only if not JCL_NO_JNIONLOAD.
+ Use JCL_POINTER_xxx macros instead of SIZEOF_VOID_P.
+ (JCL_NewRawDataObject): Use JCL_POINTER_xxx macros instead of SIZEOF_VOID_P.
+ Initialize rawDataClass, rawData_fid, rawData_mid global variables if JCL_NO_JNIONLOAD.
+ (JCL_realloc): Don't call free() for NULL pointer.
+ (JCL_GetRawData): Use JCL_POINTER_xxx macros instead of SIZEOF_VOID_P.
+ Initialize rawDataClass, rawData_fid, rawData_mid global variables
+ if JCL_NO_JNIONLOAD.
+
2010-07-30 Andrew Haley <aph@redhat.com>
* javax/print/attribute/standard/JobStateReasons.java (add): Fix