< 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,75 ****
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;
--- 64,76 ----
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;
< prev index next >