OpenJDK / amber / amber
changeset 42349:6975e71fe0c3
8080550: java/rmi/server/useCustomRef/UseCustomRef.java failed with java.net.BindException intermittently
Reviewed-by: chegar
author | mli |
---|---|
date | Fri, 02 Dec 2016 01:11:33 -0800 |
parents | 80b9d6545491 |
children | 9ad19b4f2c78 |
files | jdk/test/java/rmi/server/useCustomRef/UseCustomRef.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/jdk/test/java/rmi/server/useCustomRef/UseCustomRef.java Fri Dec 02 00:47:00 2016 -0800 +++ b/jdk/test/java/rmi/server/useCustomRef/UseCustomRef.java Fri Dec 02 01:11:33 2016 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -86,7 +86,7 @@ System.err.println("creating Registry..."); - registry = TestLibrary.createRegistryOnUnusedPort(); + registry = TestLibrary.createRegistryOnEphemeralPort(); int port = TestLibrary.getRegistryPort(registry); /* * create object with custom ref and bind in registry