summaryrefslogtreecommitdiff
path: root/libjava/boehm.cc
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-09 16:24:55 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-09 16:24:55 +0000
commit2dc14c9e6b2bec610b66b59bb2431c87bf71dd5c (patch)
tree727452210eb531de02f4fcf33d696da39148dbce /libjava/boehm.cc
parent494cf68ef601c6578e1224d70a4a8750a416003c (diff)
downloadgcc-2dc14c9e6b2bec610b66b59bb2431c87bf71dd5c.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72271 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/boehm.cc')
-rw-r--r--libjava/boehm.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libjava/boehm.cc b/libjava/boehm.cc
index af5f979197d..73240885510 100644
--- a/libjava/boehm.cc
+++ b/libjava/boehm.cc
@@ -206,6 +206,8 @@ _Jv_MarkObj (void *addr, void *msp, void *msl, void * /* env */)
MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, c, cDlabel);
p = (ptr_t) c->protectionDomain;
MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, c, cPlabel);
+ p = (ptr_t) c->signers;
+ MAYBE_MARK (p, mark_stack_ptr, mark_stack_limit, c, cSlabel);
#ifdef INTERPRETER
if (_Jv_IsInterpretedClass (c))