RFR [8034262] Test java/lang/ProcessBuilder/CloseRace.java fails (original) (raw)
Ivan Gerasimov ivan.gerasimov at oracle.com
Tue Mar 11 12:24:36 UTC 2014
- Previous message: Charlie will take one day off this Friday
- Next message: RFR [8034262] Test java/lang/ProcessBuilder/CloseRace.java fails
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello everybody!
The test java/lang/ProcessBuilder/CloseRace.java was reported to intermittently fail. The test timed out, which should mean that at least one of the child threads was never interrupted.
I couldn't reproduce the failure, but I suspect it might happen due to call to interrupt() before the child thread became alive (I'm not really sure if it's possible to be non-alive after call to start()). The fix is to explicitly synchronize children with the parent.
Would you please help review the fix?
BUGURL: https://bugs.openjdk.java.net/browse/JDK-8034262 WEBREV: http://cr.openjdk.java.net/~igerasim/8034262/0/webrev/
Sincerely yours, Ivan
- Previous message: Charlie will take one day off this Friday
- Next message: RFR [8034262] Test java/lang/ProcessBuilder/CloseRace.java fails
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]