8198933: Update JDI tests to pass valid URL[]
Reviewed-by: dholmes
This commit is contained in:
parent
fa4abe66dd
commit
5e529f5d62
@ -736,10 +736,6 @@ com/sun/jdi/sde/SourceDebugExtensionTest.java 8158066 windows-
|
||||
|
||||
com/sun/jdi/NashornPopFrameTest.java 8187143 generic-all
|
||||
|
||||
com/sun/jdi/EarlyReturnTest.java 8198803 generic-all
|
||||
com/sun/jdi/EarlyReturnNegativeTest.java 8198803 generic-all
|
||||
com/sun/jdi/MethodExitReturnValuesTest.java 8198803 generic-all
|
||||
|
||||
############################################################################
|
||||
|
||||
# jdk_time
|
||||
|
@ -77,8 +77,9 @@ class EarlyReturnNegativeTarg {
|
||||
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);
|
||||
}
|
||||
|
@ -82,8 +82,9 @@ class EarlyReturnTarg {
|
||||
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);
|
||||
}
|
||||
@ -116,8 +117,9 @@ class EarlyReturnTarg {
|
||||
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);
|
||||
}
|
||||
|
@ -66,8 +66,9 @@ class MethodExitReturnValuesTarg {
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user