BZ #145: OpenJDK/CACAO fails a malva test

Status fields:

creation_ts:2010-10-18 20:26
component:threads
version:default branch
rep_platform:All
op_sys:All
bug_status:RESOLVED
resolution:FIXED
reporter:stefan@complang.tuwien.ac.at
Exception in thread "main" java.lang.AssertionError: Expected class
java.lang.IllegalArgumentException to be thrown
        at malva.TestCase.fail(TestCase.java:74)
        at malva.TestCase.assertThrows(TestCase.java:36)
        at malva.java.lang.RuntimeTest.testAddShutdownHook(RuntimeTest.java:17)
        at malva.java.lang.RuntimeTest.main(RuntimeTest.java:109)
malva/java/lang/RuntimeTest: Test FAILED
make: *** [check] Error 1

Smells like a race condition. Reproducible on my SheevaPlug. I have not tested on other
UP systems.

Comment #1 by stefan@complang.tuwien.ac.at on 2011-05-13 23:08:21

I forgot to reference this bug in the commit, but the problem was with malva more than
with CACAO:
https://github.com/penberg/malva/commit/b1bb3f6bd57d34785fca21f6e9fb9bb69927ee13

Should not happen anymore: http://mips.complang.tuwien.ac.at/hg/cacao/rev/50c0ff842af5