changeset 16173:f312b57865d4

8170338: com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java failed with "Port already in use" Reviewed-by: chegar
author mli
date Wed, 30 Nov 2016 17:11:25 -0800
parents 7e53ac81aa18
children a563aaa85446
files test/com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java	Tue Nov 29 01:06:10 2016 -0800
+++ b/test/com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java	Wed Nov 30 17:11:25 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;