From eb32737ea920188993a2452f6294b5fd1db3c2b9 Mon Sep 17 00:00:00 2001 From: dmocek Date: Wed, 18 Jul 2012 10:04:45 -0700 Subject: [PATCH] 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 --- .../registry/RegistryContext/ContextWithNullProperties.java | 3 +-- .../jndi/rmi/registry/RegistryContext/UnbindIdempotent.java | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java b/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java index 3dd724814..edd15ae23 100644 --- a/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java +++ b/test/com/sun/jndi/rmi/registry/RegistryContext/ContextWithNullProperties.java @@ -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 --git a/test/com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java b/test/com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java index 9ff1d0162..692c7fd5c 100644 --- a/test/com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java +++ b/test/com/sun/jndi/rmi/registry/RegistryContext/UnbindIdempotent.java @@ -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; -- GitLab