RFR: 8004317 TestLibrary.getUnusedRandomPort() fails intermittently, but exception not reported (original) (raw)

Alan Bateman Alan.Bateman at oracle.com
Tue Dec 4 20:42:15 UTC 2012


On 04/12/2012 20:03, Jim Gish wrote:

Please review http://cr.openjdk.java.net/~jgish/Bug8004317-TestLibrary-getUnusedRandomPort-Failure/ <http://cr.openjdk.java.net/%7Ejgish/Bug8004317-TestLibrary-getUnusedRandomPort-Failure/>

We're getting intermittent failures on a number of RMI tests attempting to get an unused ephemeral port. This is a temporary change to print a stack trace until we can figure what's going on. For some reason the test framework isn't surfacing the nested exception. (There probably should be a separate bug for that, but my first priority here is to fix the intermittent test failures.) Thanks, Jim If this is what I think it is, they it may be useful to capture the output of "netstat -a" output at the time of the exception.

-Alan



More information about the core-libs-dev mailing list