--- old/test/java/rmi/activation/Activatable/forceLogSnapshot/ForceLogSnapshot.java 2016-10-03 15:48:21.869977277 +0100 +++ new/test/java/rmi/activation/Activatable/forceLogSnapshot/ForceLogSnapshot.java 2016-10-03 15:48:21.693981017 +0100 @@ -31,6 +31,7 @@ * java.rmi/sun.rmi.server * java.rmi/sun.rmi.transport * java.rmi/sun.rmi.transport.tcp + * java.base/sun.nio.ch * @build TestLibrary RMID ActivationLibrary * ActivateMe ForceLogSnapshot_Stub * @run main/othervm/policy=security.policy/timeout=640 ForceLogSnapshot @@ -129,7 +130,7 @@ SNAPSHOT_INTERVAL; RMID.removeLog(); - rmid = RMID.createRMID(); + rmid = RMID.createRMIDOnEphemeralPort(); rmid.addOptions(new String[] {option, "-Djava.compiler="}); rmid.start();