# HG changeset patch # User dmocek # Date 1342631085 25200 # Node ID c24614ba26d4ebd0d8c773d09af0a7c026408b91 # Parent 5cf4ff2cbb373c09d63a2279586805f740a514b7 7184943: fix failing test com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java 7184946: fix failing test com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java Reviewed-by: smarks diff -r 5cf4ff2cbb37 -r c24614ba26d4 jdk/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java --- a/jdk/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java Tue Jul 17 19:57:31 2012 -0700 +++ b/jdk/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java Wed Jul 18 10:04:45 2012 -0700 @@ -30,8 +30,7 @@ * @run main ContextWithNullProperties */ -import com.sun.jndi.rmi.registry.RegistryContextsun.jndi.rmi.RegistryContext; -import java.rmi.RemoteException; +import com.sun.jndi.rmi.registry.RegistryContext; import java.rmi.registry.Registry; public class ContextWithNullProperties { diff -r 5cf4ff2cbb37 -r c24614ba26d4 jdk/test/com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java --- a/jdk/test/com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java Tue Jul 17 19:57:31 2012 -0700 +++ b/jdk/test/com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java Wed Jul 18 10:04:45 2012 -0700 @@ -32,6 +32,7 @@ */ import java.rmi.registry.Registry; +import javax.naming.Context; import javax.naming.InitialContext; import javax.naming.NameNotFoundException; import javax.naming.NamingException;