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 |
|---|---|---|
| .. | ||
| AccessibleObject.java | Loading commit data... | |
| Array.java | Loading commit data... | |
| Constructor.java | Loading commit data... | |
| Field.java | Loading commit data... | |
| InvocationHandler.java | Loading commit data... | |
| InvocationTargetException.java | Loading commit data... | |
| Member.java | Loading commit data... | |
| Method.java | Loading commit data... | |
| Modifier.java | Loading commit data... | |
| Proxy.java | Loading commit data... | |
| ReflectPermission.java | Loading commit data... | |
| UndeclaredThrowableException.java | Loading commit data... | |
| natArray.cc | Loading commit data... | |
| natConstructor.cc | Loading commit data... | |
| natField.cc | Loading commit data... | |
| natMethod.cc | Loading commit data... | |
| natProxy.cc | Loading commit data... |