Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
Description
The test fails with the following assertion:
A member of the "class javax.swing.AbstractActionTest$1" with "public" modifiers can not be accessed from the "class javax.swing.AbstractActionTest"
Error
java.lang.IllegalAccessException: A member of the "class javax.swing.AbstractActionTest$1" with "public" modifiers can not be accessed from the "class javax.swing.AbstractActionTest" at java.lang.reflect.ReflectExporter.checkMemberAccess(Unknown Source) at javax.swing.AbstractActionTest.testClone(AbstractActionTest.java:232) at java.lang.reflect.VMReflection.invokeMethod(Native Method) at javax.swing.BasicSwingTestCase.runBareSuper(BasicSwingTestCase.java:118) at javax.swing.SwingTestCase$1.run(SwingTestCase.java:49) at java.awt.event.InvocationEvent.runAndNotify(InvocationEvent.java:86) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:74) at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java:131) at java.awt.EventQueue.dispatchEvent(EventQueue.java:144) at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java:74) at java.awt.EventDispatchThread.run(EventDispatchThread.java:45)
To reproduce the bug run
ant -Dtest.jre.home=%DRLVM_HOME% -Dbuild.module=swing -Dtest.case=javax.swing.AbstractActionTest test