--- old/src/share/classes/com/sun/jndi/url/rmi/rmiURLContextFactory.java 2011-07-27 17:25:42.266941100 -0700 +++ new/src/share/classes/com/sun/jndi/url/rmi/rmiURLContextFactory.java 2011-07-27 17:25:41.344848900 -0700 @@ -63,7 +63,7 @@ } } - private static Object getUsingURL(String url, Hashtable env) + private static Object getUsingURL(String url, Hashtable env) throws NamingException { rmiURLContext urlCtx = new rmiURLContext(env); @@ -79,7 +79,7 @@ * If all URLs fail, throw one of the exceptions arbitrarily. * Not pretty, but potentially more informative than returning null. */ - private static Object getUsingURLs(String[] urls, Hashtable env) + private static Object getUsingURLs(String[] urls, Hashtable env) throws NamingException { if (urls.length == 0) {