Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Patch Available
Description
The test fails rather often when running the whole luni module with the following message:
Incorrect value returned2
junit.framework.AssertionFailedError: Incorrect value returned2 at junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:11) at org.apache.harmony.luni.tests.java.lang.ThreadTest.test_enumerate$Ljava_lang_Thread(ThreadTest.java:357) at java.lang.reflect.VMReflection.invokeMethod(Native Method) 0.000
test_getContextClassLoader Success
or
Incorrect value returned3
junit.framework.AssertionFailedError: Incorrect value returned3 at junit.framework.AssertionFailedError.<init>(AssertionFailedError.java:11) at org.apache.harmony.luni.tests.java.lang.ThreadTest.test_enumerate$Ljava_lang_Thread(ThreadTest.java:357) at java.lang.reflect.VMReflection.invokeMethod(Native Method) 0.000
test_getContextClassLoader Success
It seems that the test should wait until threads are started and then call the enumerate() method.
Attachments
Attachments
Issue Links
- is blocked by
-
HARMONY-1789 [DRLVM] Race condition between Thread.interrupt and Object.wait, Thread.sleep or join
- Resolved