natClassLoader.cc (defineClass0): Removed erroneous comment.
* java/lang/natClassLoader.cc (defineClass0): Removed erroneous comment. * java/lang/ClassLoader.java (defineClass): Use chained exception when rethrowing. * defineclass.cc (handleClassBegin): Mark class as interpreted. * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New constants. * resolve.cc (_Jv_PrepareMissingMethods): New function. (_Jv_PrepareClass): Use it. * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote. (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend. * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS. (Class): _Jv_PrepareMissingMethods now friend. * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize. Record `NULL' for system class loader. (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case system class loader. (_Jv_FindClassInCache): Likewise. (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info. (_Jv_FindClass): Special case system class loader. * java/lang/natClass.cc (_Jv_abstractMethodError): New function. (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty vtable slots. (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method in a final class. (_getDeclaredMethod): Don't return synthetic methods. (getDeclaredMethods): Likewise. (_getMethod): Likewise. (_getMethods): Likewise. From-SVN: r60319
This commit is contained in:
parent
385405940e
commit
a1aba4f9a5
11 changed files with 221 additions and 96 deletions
|
@ -151,12 +151,8 @@
|
|||
8.1.2-enclosing-4
|
||||
8.1.2-enclosing-5
|
||||
8.1.3-object-3
|
||||
8.1.3-superclass-10
|
||||
8.1.3-superclass-12
|
||||
8.1.3-superclass-13
|
||||
8.1.4-superinterface-8
|
||||
8.1.4-superinterface-10
|
||||
8.1.4-superinterface-11
|
||||
8.1.3-superclass-5
|
||||
8.1.3-superclass-6
|
||||
8.2-accessibility-inherited-member-5
|
||||
8.8.5.1-example-1
|
||||
8.8.5.1-example-3
|
||||
|
@ -218,9 +214,14 @@
|
|||
8.6-checked-exception-10
|
||||
8.6-checked-exception-11
|
||||
8.6-checked-exception-12
|
||||
8.6-complete-1
|
||||
8.6-complete-4
|
||||
8.6-complete-5
|
||||
8.6-abrupt-1
|
||||
8.6-abrupt-4
|
||||
8.5-inheritance-4
|
||||
8.5-inheritance-1
|
||||
8.5-inheritance-2
|
||||
8.5-inheritance-3
|
||||
8.5-inheritance-6
|
||||
8.5.2-non-static-member-usage-2
|
||||
8.4.6-miranda-2
|
||||
|
@ -262,6 +263,8 @@
|
|||
8.4.3-bad-1
|
||||
8.4.3-bad-2
|
||||
8.7-abrupt-1
|
||||
8.7-complete-1
|
||||
8.7-complete-3
|
||||
5.1.3-dti-1
|
||||
5.1.3-dti-2
|
||||
5.1.3-fti-1
|
||||
|
@ -448,7 +451,7 @@
|
|||
15.9.1-unqualified-concrete-6
|
||||
15.9.1-unqualified-concrete-7
|
||||
15.9.1-unqualified-concrete-10
|
||||
15.9.1-unqualified-concrete-15
|
||||
15.9.1-unqualified-concrete-14
|
||||
15.9.1-qualified-concrete-6
|
||||
15.9.1-qualified-concrete-7
|
||||
15.9.1-qualified-concrete-10
|
||||
|
@ -456,7 +459,7 @@
|
|||
15.9.1-qualified-concrete-14
|
||||
15.9.1-qualified-concrete-16
|
||||
15.9.1-qualified-concrete-20
|
||||
15.9.1-qualified-concrete-23
|
||||
15.9.1-qualified-concrete-24
|
||||
15.28-primitive-9
|
||||
15.28-primitive-15
|
||||
15.28-primitive-16
|
||||
|
@ -601,9 +604,6 @@
|
|||
9.1.1-in-interface-3
|
||||
9.1.1-in-interface-9
|
||||
9.1.1-in-interface-16
|
||||
9.1.2-interface-3
|
||||
9.1.2-interface-5
|
||||
9.1.2-interface-6
|
||||
9.1.2-supertype-1
|
||||
9.2-implicit-2
|
||||
9.2-implicit-3
|
||||
|
@ -680,10 +680,6 @@
|
|||
6.6.2.1-protected-instance-method-6
|
||||
6.6.2.1-protected-instance-method-7
|
||||
6.6.2.1-protected-type-2
|
||||
6.6.2.1-protected-type-4
|
||||
6.6.2.1-protected-type-5
|
||||
6.6.2.1-protected-type-7
|
||||
6.6.2.1-protected-type-8
|
||||
6.6.1-8
|
||||
6.6.1-11
|
||||
6.6.1-array-2
|
||||
|
@ -711,14 +707,14 @@
|
|||
6.5.6.1-local-4
|
||||
6.5.6.1-field-6
|
||||
6.5.6.1-explicit-constructor-2
|
||||
6.5.4.2-qualified-1
|
||||
6.5.4.1-simple-6
|
||||
6.5.4.1-simple-8
|
||||
6.5.4.1-simple-10
|
||||
6.5.4.1-simple-11
|
||||
6.5.1-type-15
|
||||
6.5.1-type-16
|
||||
6.5.1-type-19
|
||||
6.5.1-typeorpackage-1
|
||||
6.5.1-typeorpackage-2
|
||||
6.5.5.2-type-4
|
||||
6.5.5.2-type-5
|
||||
6.5.5.2-type-6
|
||||
6.5.5.2-type-7
|
||||
|
@ -733,9 +729,10 @@
|
|||
6.5.5.1-nested-19
|
||||
6.5.5.1-nested-20
|
||||
6.5.5.1-nested-21
|
||||
6.5.5.1-nested-22
|
||||
6.5.5.1-nested-23
|
||||
6.3-1
|
||||
7.4.2-subpackage-1
|
||||
7.4.2-subpackage-2
|
||||
7.5.1-canonical-3
|
||||
7.5.1-accessible-1
|
||||
7.5.1-duplicate-4
|
||||
|
@ -743,8 +740,6 @@
|
|||
7.5.2-accessible-1
|
||||
7.5.2-accessible-3
|
||||
7.5.2-duplicate-3
|
||||
7.1-named-5
|
||||
7.1-named-6
|
||||
7.1-named-7
|
||||
7.6-unnamed-scope-1
|
||||
4.5.4-static-1
|
||||
|
@ -805,7 +800,6 @@ non-jls-zip-2
|
|||
14-runtime-jump-1
|
||||
14-runtime-jump-2
|
||||
14.3.1-runtime-3
|
||||
14.19.2-runtime-try-1
|
||||
8.1.2-runtime-1
|
||||
6.6.1-runtime-privateconstructor-1
|
||||
8.8.3-runtime-inner-4
|
||||
|
@ -831,11 +825,11 @@ non-jls-zip-2
|
|||
15.11.1-runtime-static-1
|
||||
15.11.1-runtime-static-2
|
||||
15.11.1-runtime-static-3
|
||||
15.11.1-runtime-static-4
|
||||
15.12.3-runtime-mode-1
|
||||
15.12.3-runtime-mode-2
|
||||
15.12.3-runtime-mode-3
|
||||
15.12.3-runtime-mode-4
|
||||
15.12.3-runtime-mode-5
|
||||
15.12.3-runtime-mode-6
|
||||
15.12.4.1-runtime-static-1
|
||||
15.12.4.1-runtime-static-2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue