diff options
-rw-r--r-- | libjava/ChangeLog | 3 | ||||
-rw-r--r-- | libjava/include/jvm.h | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index f9b458a..58530b0 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,8 @@ 2000-04-03 Tom Tromey <tromey@cygnus.com> + * include/jvm.h (_Jv_GetArrayElementFromElementType): More + commentary from Alex. + * Makefile.in: Rebuilt. * Makefile.am ($(javao_files)): Depend on libgcj.zip. From H.J. Lu. diff --git a/libjava/include/jvm.h b/libjava/include/jvm.h index 19b03fb..625a11e 100644 --- a/libjava/include/jvm.h +++ b/libjava/include/jvm.h @@ -125,7 +125,8 @@ _Jv_HashCode (jobject obj) // Return a raw pointer to the elements of an array given the array // and its element type. You might think we could just pick a single // array type and use elements() on it, but we can't because we must -// account for alignment of the element type. +// account for alignment of the element type. When ARRAY is null, we +// obtain the number of bytes taken by the base part of the array. inline char * _Jv_GetArrayElementFromElementType (jobject array, jclass element_type) |