aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/lang/natClassLoader.cc
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2003-10-09 16:24:55 +0000
committerTom Tromey <tromey@gcc.gnu.org>2003-10-09 16:24:55 +0000
commitb379e7b0e97d9355f3965c740270d9196efe1b2b (patch)
tree727452210eb531de02f4fcf33d696da39148dbce /libjava/java/lang/natClassLoader.cc
parentae125b177e74ff5566bf16a80b4530d0c485c8c3 (diff)
downloadgcc-b379e7b0e97d9355f3965c740270d9196efe1b2b.zip
gcc-b379e7b0e97d9355f3965c740270d9196efe1b2b.tar.gz
gcc-b379e7b0e97d9355f3965c740270d9196efe1b2b.tar.bz2
ClassLoader.java (setSigners): Implemented.
* java/lang/ClassLoader.java (setSigners): Implemented. * boehm.cc (_Jv_MarkObj): Mark `signers' field. * java/lang/natClassLoader.cc (_Jv_InitNewClassFields): Initialize new fields. * java/lang/Class.java (getSigners): Now native. (setSigners): Declare. * java/lang/natClass.cc (getSigners): New method. (getSigners): Likewise. * java/lang/Class.h (Class::signers): New field. (Class::setSigners): New method. From-SVN: r72271
Diffstat (limited to 'libjava/java/lang/natClassLoader.cc')
-rw-r--r--libjava/java/lang/natClassLoader.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/libjava/java/lang/natClassLoader.cc b/libjava/java/lang/natClassLoader.cc
index e3519f3..10b4bc6 100644
--- a/libjava/java/lang/natClassLoader.cc
+++ b/libjava/java/lang/natClassLoader.cc
@@ -539,6 +539,9 @@ _Jv_InitNewClassFields (jclass ret)
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 @@ _Jv_InitNewClassFields (jclass ret)
ret->idt = NULL;
ret->arrayclass = NULL;
ret->protectionDomain = NULL;
+ ret->signers = NULL;
ret->chain = NULL;
}