Even though the tests and the source is in the same package, there's an
IllegalAccessError in some of the tests in DefaultDesktopManagerTest. I
cannot debug the tests cause when the EventDispatchThread takes over the
debugging process hangs. Is there a solution to this?
java.lang.IllegalAccessError:
javax/swing/DefaultDesktopManager.wasIcon(Ljavax/swing/JInternalFrame;)Z
while resolving constant pool entry at index 85 in class
javax/swing/DefaultDesktopManagerTest
at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
at java.lang.reflect.Method.invoke(Method.java:317)
at junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
at
javax.swing.BasicSwingTestCase.runBareSuper(BasicSwingTestCase.java:117)
at javax.swing.SwingTestCase$1.run(SwingTestCase.java:45)
at java.awt.event.InvocationEvent.runAndNotify(InvocationEvent.java:92)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:81)
at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java:138)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:144)
at
java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java:74)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:48)
--
Regards,
Tharindu