[PATCH] Review request: 8009259 TEST_BUG: sun/misc/Cleaner/exitOnThrow.sh failing intermittently

Alan Bateman Alan.Bateman at oracle.com
Mon Mar 4 18:25:06 UTC 2013


On 04/03/2013 16:13, Eric Wang wrote:
> Hi,
>
> Please help to review the fix below for bug 8009259 
> <https://jbs.oracle.com/bugs/browse/JDK-8009259> TEST_BUG: 
> sun/misc/Cleaner/exitOnThrow.sh failing intermittently.
> http://cr.openjdk.java.net/~ewang/8009259/webrev.00/
>
> The test failed due to wrong assumption of thread scheduling, so fix 
> it to make test passes if exception thrown or fails if jtreg execution 
> timeout.
I don't I've seen it fail either but I assume the Cleaner's System.exit 
terminates the VM before the the main thread gets to its System.exit(0). 
The change look good to me. One suggestion is to add 8009259 to the 
shell script that runs it.

-Alan



More information about the core-libs-dev mailing list