RFR of JDK-8170338: com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java failed with "Port already in use"
Chris Hegarty
chris.hegarty at oracle.com
Wed Nov 30 10:41:22 UTC 2016
On 30/11/16 03:02, Hamlin Li wrote:
> Would you please review the patch?
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8170338
> webrev: http://cr.openjdk.java.net/~mli/8170338/webrev.00/
Reviewed. Thanks Hamlin.
-Chris.
> Thank you
> -Hamlin
>
> ------------------------------------------------------------------------
>
> diff -r 17b7d5ac2da7
> test/com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java
> ---
> a/test/com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java
> Wed Nov 30 08:02:39 2016 +0800
> +++
> b/test/com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java
> Tue Nov 29 18:59:30 2016 -0800
> @@ -43,7 +43,7 @@
> public class UnbindIdempotent {
>
> public static void main(String[] args) throws Exception {
> - Registry registry = TestLibrary.createRegistryOnUnusedPort();
> + Registry registry = TestLibrary.createRegistryOnEphemeralPort();
> int registryPort = TestLibrary.getRegistryPort(registry);
> InitialContext ictx = new InitialContext();
> Context rctx;
>
More information about the core-libs-dev
mailing list