Loading... (original) (raw)
The getFreePort() method in the following test infrastructure classes need to be re-examined:
test/lib/jdk/test/lib/Utils.java
test/jdk/lib/testlibrary/jdk/testlibrary/Utils.java
The initial sleep makes it too slow for tests that need to invoke it hundreds of times. The exception handling is also confusing as getLocalPort() can never return -1.