< prev index next >
test/jdk/com/sun/jdi/EarlyReturnNegativeTest.java
Print this page
8198933: Update JDI tests to pass valid URL[]
Reviewed-by: dholmes
*** 75,86 ****
public static Class classValue = Object.class;
public static ClassLoader classLoaderValue;
{
try {
! urls[0] = new URL("hi there");
! } catch (java.net.MalformedURLException ee) {
}
classLoaderValue = new URLClassLoader(urls);
}
public static Thread threadValue = Thread.currentThread();
--- 75,87 ----
public static Class classValue = Object.class;
public static ClassLoader classLoaderValue;
{
try {
! 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();
< prev index next >