b9b5672b49
2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz> * java/lang/reflect/Constructor.java (toString): Avoid extra whitespace on constructor with no modifiers. * java/lang/reflect/natConstructor.java (newInstance): Look up caller and perform accessibility check only if constructor is non-public and accessible flag is not set. 2003-10-26 Bryce McKinlay <bryce@mckinlay.net.nz> * jni.cc (_Jv_JNI_CallAnyMethodV, _Jv_JNI_CallAnyMethodA, _Jv_JNI_CallAnyVoidMethodV, _Jv_JNI_CallAnyVoidMethodA): Don't use _Jv_LookupDeclaredMethod(). Call _Jv_CallAnyMethodA with is_virtual_call argument. * include/jvm.h (_Jv_isVirtualMethod): Moved and renamed from natClass.cc. * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use _Jv_isVirtualMethod. * java/lang/reflect/natMethod.cc (invoke): Don't use _Jv_LookupDeclaredMethod. (_Jv_CallAnyMethodA): New is_virtual_call argument. If specified, look up method in target object's vtable. From-SVN: r72942 |
||
---|---|---|
.. | ||
.cvsignore | ||
boehm-gc.h | ||
config.h.in | ||
default-signal.h | ||
dwarf2-signal.h | ||
i386-signal.h | ||
java-assert.h | ||
java-chardecomp.h | ||
java-chartables.h | ||
java-cpool.h | ||
java-insns.h | ||
java-interp.h | ||
java-props.h | ||
jni.h | ||
jvm.h | ||
jvmpi.h | ||
Makefile.am | ||
Makefile.in | ||
mips-signal.h | ||
no-gc.h | ||
no-threads.h | ||
posix-threads.h | ||
posix.h | ||
powerpc-signal.h | ||
s390-signal.h | ||
sparc-signal.h | ||
stamp-h.in | ||
win32-signal.h | ||
win32-threads.h | ||
win32.h | ||
x86_64-signal.h |