aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/lang/reflect/AccessibleObject.java
diff options
context:
space:
mode:
authorBryce McKinlay <bryce@mckinlay.net.nz>2003-10-26 02:25:42 +0000
committerBryce McKinlay <bryce@gcc.gnu.org>2003-10-26 02:25:42 +0000
commitb9b5672b49c02abf4eb9ee7a41268676975fe8dd (patch)
tree904732224e65247ccdf90cd04bd9cd1ec4f63816 /libjava/java/lang/reflect/AccessibleObject.java
parent077a148bf5d7da017005caa18faccc7976704c79 (diff)
downloadgcc-b9b5672b49c02abf4eb9ee7a41268676975fe8dd.zip
gcc-b9b5672b49c02abf4eb9ee7a41268676975fe8dd.tar.gz
gcc-b9b5672b49c02abf4eb9ee7a41268676975fe8dd.tar.bz2
Constructor.java (toString): Avoid extra whitespace on constructor with no modifiers.
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
Diffstat (limited to 'libjava/java/lang/reflect/AccessibleObject.java')
0 files changed, 0 insertions, 0 deletions