< prev index next >
test/jdk/com/sun/jdi/EarlyReturnTest.java
Print this page
8198933: Update JDI tests to pass valid URL[]
Reviewed-by: dholmes
@@ -80,12 +80,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 = Thread.currentThread();
@@ -114,12 +115,13 @@
public static Class eclassValue = String.class;
public static ClassLoader eclassLoaderValue;
{
try {
- urls[0] = new URL("been there, done that");
- } catch (java.net.MalformedURLException ee) {
+ urls[0] = new URL("file:/bar");
+ } catch (java.net.MalformedURLException ex) {
+ throw new AssertionError(ex);
}
classLoaderValue = new URLClassLoader(urls);
}
public static Thread ethreadValue;
public static ThreadGroup ethreadGroupValue;
< prev index next >