harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Varlamov" <alexey.v.varla...@gmail.com>
Subject Re: [harmony-demo-1] IllegalAccessError in DefaultDesktopManagerTest
Date Mon, 19 May 2008 09:34:28 GMT
I could not reproduce failures, all 20 testcases of
DefaultDesktopManagerTest passed. Anyway, such error means test class
appeared in different runtime package than DefaultDesktopManager
class, i.e. was defined with different classloader - might be an
environment issue if test is run manually?

Regards,
Alexey

2008/5/17, Mackie Mathew <mccloud35@gmail.com>:
> 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
>

Mime
View raw message