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
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| .cvsignore | Loading commit data... | |
| Makefile.am | Loading commit data... | |
| Makefile.in | Loading commit data... | |
| boehm-gc.h | Loading commit data... | |
| config.h.in | Loading commit data... | |
| default-signal.h | Loading commit data... | |
| dwarf2-signal.h | Loading commit data... | |
| i386-signal.h | Loading commit data... | |
| java-assert.h | Loading commit data... | |
| java-chardecomp.h | Loading commit data... | |
| java-chartables.h | Loading commit data... | |
| java-cpool.h | Loading commit data... | |
| java-insns.h | Loading commit data... | |
| java-interp.h | Loading commit data... | |
| java-props.h | Loading commit data... | |
| jni.h | Loading commit data... | |
| jvm.h | Loading commit data... | |
| jvmpi.h | Loading commit data... | |
| mips-signal.h | Loading commit data... | |
| no-gc.h | Loading commit data... | |
| no-threads.h | Loading commit data... | |
| posix-threads.h | Loading commit data... | |
| posix.h | Loading commit data... | |
| powerpc-signal.h | Loading commit data... | |
| s390-signal.h | Loading commit data... | |
| sparc-signal.h | Loading commit data... | |
| stamp-h.in | Loading commit data... | |
| win32-signal.h | Loading commit data... | |
| win32-threads.h | Loading commit data... | |
| win32.h | Loading commit data... | |
| x86_64-signal.h | Loading commit data... |