This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Patch: updated comment
- To: Java Patch List <java-patches at sourceware dot cygnus dot com>
- Subject: Patch: updated comment
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 03 Apr 2000 17:40:04 -0600
- Reply-To: tromey at cygnus dot com
I'm checking in this patch from Alex.
It adds some clarifying text to a comment.
2000-04-03 Tom Tromey <tromey@cygnus.com>
* include/jvm.h (_Jv_GetArrayElementFromElementType): More
commentary from Alex.
Tom
Index: include/jvm.h
===================================================================
RCS file: /cvs/java/libgcj/libjava/include/jvm.h,v
retrieving revision 1.20
diff -u -r1.20 jvm.h
--- jvm.h 2000/04/02 15:34:17 1.20
+++ jvm.h 2000/04/03 23:34:52
@@ -125,7 +125,8 @@
// 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)