harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Timoshenko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3359) [drlvm][jit][jet][EUT] "testClass" test fails 12 times in org.eclipse.ui.tests suit
Date Thu, 16 Aug 2007 09:23:30 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520184
] 

George Timoshenko commented on HARMONY-3359:
--------------------------------------------

Failed testClass contains the following code:

    > WeakReference ref = new WeakReference(clazz.getClassLoader(), myQueue);
    > clazz = null;

The failed assertion means that this ref was not cleared by GC.

But we still do not have class unloading feature so the referent class loader ('clazz.getClassLoader()')
ia always kept alive.
And respective WeakReference ref can not be cleared.

> [drlvm][jit][jet][EUT] "testClass" test fails 12 times in org.eclipse.ui.tests suit
> -----------------------------------------------------------------------------------
>
>                 Key: HARMONY-3359
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3359
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Aleksey Ignatenko
>         Attachments: OUT
>
>
> 12 time "testClass" test fails in org.eclipse.ui.tests suit of EUT.
> Stack trace:
> Reference not enqueued 
> junit.framework.AssertionFailedError: Reference not enqueued
> at org.eclipse.ui.tests.leaks.LeakTests.checkRef(LeakTests.java:66)
> at org.eclipse.ui.tests.dynamicplugins.DynamicTestCase.testClass(DynamicTestCase.java:170)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:326)
> at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:203)
> at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:188)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:121)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1912)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1875)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:417)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
> at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:130)
> at org.eclipse.test.UITestApplication.run(UITestApplication.java:55)
> at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:77)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:66)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:396)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:975)
> at org.eclipse.core.launcher.Main.main(Main.java:952)
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> at org.apache.harmony.vm.JarRunner.main(JarRunner.java:80)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message