RFR of JDK-8153916: com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java failed with BindException
Chris Hegarty
chris.hegarty at oracle.com
Fri Dec 2 08:44:56 UTC 2016
On 02/12/16 08:42, Hamlin Li wrote:
> Would you please review the below patch?
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8153916
> webrev: http://cr.openjdk.java.net/~mli/8153916/webrev.00/
Looks good. Thanks Hamlin.
-Chris.
> Thank you
> -Hamlin
> ------------------------------------------------------------------------
> diff -r 35c87712682f
> test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java
>
> ---
> a/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java
> Fri Dec 02 10:56:46 2016 +0800
> +++
> b/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java
> Fri Dec 02 00:39:44 2016 -0800
> @@ -37,7 +37,7 @@
>
> public class ContextWithNullProperties {
> public static void main(String[] args) throws Exception {
> - Registry registry = TestLibrary.createRegistryOnUnusedPort();
> + Registry registry = TestLibrary.createRegistryOnEphemeralPort();
> int registryPort = TestLibrary.getRegistryPort(registry);
> System.out.println("Connecting to the default Registry...");
> // Connect to the default Registry.
>
More information about the core-libs-dev
mailing list