< 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,91 **** 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(); --- 80,92 ---- 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();
*** 114,125 **** public static Class eclassValue = String.class; public static ClassLoader eclassLoaderValue; { try { ! urls[0] = new URL("been there, done that"); ! } catch (java.net.MalformedURLException ee) { } classLoaderValue = new URLClassLoader(urls); } public static Thread ethreadValue; public static ThreadGroup ethreadGroupValue; --- 115,127 ---- public static Class eclassValue = String.class; public static ClassLoader eclassLoaderValue; { try { ! 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 >