gcc/libjava/include
Tom Tromey ffd94572f4 Runtime.java: Comment fix.
* java/lang/Runtime.java: Comment fix.
	* java/lang/ClassLoader.java (isAncestorOf): New method.
	(getParent): Uncommented security check.  Use isAncestorOf.
	* include/jvm.h (_Jv_CheckAccess): Declare.
	* java/lang/reflect/natConstructor.cc (newInstance): Perform
	access check.
	Include IllegalAccessException.h, ArrayIndexOutOfBoundsException.h.
	* java/lang/reflect/natArray.cc (newInstance): Pass caller's
	class loader to _Jv_GetArrayClass.
	Include ArrayIndexOutOfBoundsException.h.
	* java/lang/reflect/Field.java: Update comment to reflect status.
	(equals): Fixed indentation.
	* java/lang/Class.h (Class): Declare memberAccessCheck, not
	checkMemberAccess.  Make _Jv_CheckAccess a friend.
	* java/lang/Class.java (memberAccessCheck): New method from
	Classpath.
	(checkMemberAccess): Removed.
	(getDeclaredMethod): Use memberAccessCheck.
	(getField): Likewise.
	(getMethod): Likewise.
	* resolve.cc (_Jv_ResolvePoolEntry): Use _Jv_CheckAccess.
	(_Jv_SearchMethodInClass): Likewise.
	* prims.cc (_Jv_CheckAccess): New function.
	* jni.cc (_Jv_JNI_FindClass): Use getClassLoaderInternal.
	(_Jv_JNI_GetAnyFieldID): Likewise.
	* java/lang/natClass.cc (forName): Use getClassLoaderInternal.
	(getClassLoader): Added security check.
	(getConstructor): Call memberAccessCheck.
	(getDeclaredClasses): Likewise.
	(getDeclaredField): Likewise.
	(getDeclaredFields): Likewise.
	(_getConstructors): Likewise.
	(getDeclaredConstructor): Likewise.
	(getDeclaredMethods): Likewise.
	(getFields): Likewise.
	(getMethods): Likewise.
	(newInstance): Likewise.
	(_Jv_MakeVTable): Put method name in exception.
	* java/lang/reflect/natMethod.cc (getType): Use
	getClassLoaderInternal.
	(_Jv_GetTypesFromSignature): Likewise.
	(invoke): Perform access check.
	(_Jv_CallAnyMethodA): Removed old FIXME comments.
	Include ArrayIndexOutOfBoundsException.h.
	* java/lang/reflect/natField.cc (getType): Use
	getClassLoaderInternal.
	(_Jv_CheckFieldAccessibility): Removed.
	(getAddr): Use _Jv_CheckAccess; find caller.
	Include ArrayIndexOutOfBoundsException.h.

From-SVN: r69621
2003-07-21 01:54:06 +00:00
..
.cvsignore cvsignore: New file to ignore files generated during build. 2002-10-10 05:21:53 +00:00
boehm-gc.h boehm.cc: Remove stray semicolon. 2002-12-28 06:38:52 +00:00
config.h.in configure.in: Check for usleep declaration. 2003-07-07 14:11:09 +00:00
default-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00
dwarf2-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00
i386-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00
java-assert.h
java-chardecomp.h
java-chartables.h
java-cpool.h
java-insns.h verify.cc (construct_primitive_array_type): New case. 2002-04-26 22:39:29 +00:00
java-interp.h defineclass.cc (handleMethodsEnd): Precompute code for static method. 2003-01-24 19:58:21 +00:00
java-props.h
jni.h boehm.cc: Remove stray semicolon. 2002-12-28 06:38:52 +00:00
jvm.h Runtime.java: Comment fix. 2003-07-21 01:54:06 +00:00
jvmpi.h
Makefile.am
Makefile.in glib-2.0.m4: New file. 2003-06-30 23:53:29 +00:00
no-gc.h
no-threads.h
posix-threads.h posix-threads.h: Include <machine/pal.h> on OSF. 2003-06-05 15:43:58 +00:00
posix.h configure.in: Check for usleep declaration. 2003-07-07 14:11:09 +00:00
powerpc-signal.h Oops, accidentally committed the 3.3 version to mainline. Undone. 2003-06-18 15:29:12 +00:00
s390-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00
sparc-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00
stamp-h.in
win32-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00
win32-threads.h re PR java/9254 (java::lang::Object::wait(), threads-win32.cc returns wrong return codes) 2003-01-28 22:23:36 +00:00
win32.h resolve.cc (ncode): Use _Jv_platform_ffi_abi. 2003-03-17 00:45:37 +00:00
x86_64-signal.h prims.cc (catch_segv): Create exception in handler. 2003-06-13 12:20:45 +00:00