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
This commit is contained in:
Tom Tromey 2003-10-09 16:24:55 +00:00 committed by Tom Tromey
parent ae125b177e
commit b379e7b0e9
7 changed files with 37 additions and 6 deletions

View file

@ -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;
}