< prev index next >

test/jdk/com/sun/jdi/MethodExitReturnValuesTest.java

Print this page
8198933: Update JDI tests to pass valid URL[]
Reviewed-by: dholmes

@@ -64,12 +64,13 @@
 
     public static Class       classValue = Object.class;
     public static ClassLoader classLoaderValue;
     {
         try {
-            urls[0] = new URL("hi there");
-        } catch (java.net.MalformedURLException ee) {
+            urls[0] = new URL("file:/foo");
+        } catch (java.net.MalformedURLException ex) {
+            throw new AssertionError(ex);
         }
         classLoaderValue = new URLClassLoader(urls);
     }
 
     public static Thread      threadValue;
< prev index next >