RFR of JDK-8025199: java/rmi/registry/reexport/Reexport.java failed with: Port already in use
huaming.li at oracle.com
Mon Dec 19 07:22:14 UTC 2016
Would you please review the below patch?
Root cause: running registry on TestLibrary.getUnusedRandomPort() will
cause "port in use" exception, as there is a time window for a
interloper to occupy the "free" port.
Solution: in RegistryRunner print out the port running registry, add a
class REGISTRY to control and monitor the registry sub-process, and get
the running port.
More information about the core-libs-dev