This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: Implement Class.getSigners


Tom,

Shouldn't we get rid of _Jv_InitClassFields? There doesn't seem to be a need to set all these fields, because _Jv_AllocObject does that anyway.

Regards

Bryce.



On Oct 9, 2003, at 9:36 AM, Tom Tromey wrote:

diff -u -r1.60 natClassLoader.cc
--- libjava/java/lang/natClassLoader.cc 2 Oct 2003 15:34:28 -0000 1.60
+++ libjava/java/lang/natClassLoader.cc 8 Oct 2003 20:42:21 -0000
@@ -539,6 +539,9 @@
   ret->field_count = 0;
   ret->static_field_count = 0;
   ret->vtable = NULL;
+  ret->otable_syms = NULL;
+  ret->atable = NULL;
+  ret->atable_syms = NULL;
   ret->interfaces = NULL;
   ret->loader = NULL;
   ret->interface_count = 0;
@@ -549,6 +552,7 @@
   ret->idt = NULL;
   ret->arrayclass = NULL;
   ret->protectionDomain = NULL;
+  ret->signers = NULL;
   ret->chain = NULL;
 }




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]