8203391: Update com/sun/jdi/JdbMethodExitTest.sh to pass valid URL[]

Use a valid URL[]

Reviewed-by: sspitsyn, amenkov, dtitov
This commit is contained in:
Chris Plummer 2018-05-19 13:13:09 -07:00
parent d71d1e240e
commit 09e8095fd9
2 changed files with 3 additions and 3 deletions

View File

@ -776,7 +776,7 @@ com/sun/jdi/RedefineImplementor.sh 8004127 generic-
com/sun/jdi/JdbExprTest.sh 8203393 solaris-all
com/sun/jdi/JdbMethodExitTest.sh 8171483 generic-all
com/sun/jdi/JdbMethodExitTest.sh 8203393 solaris-all
com/sun/jdi/RepStep.java 8043571 generic-all

View File

@ -1,7 +1,7 @@
#!/bin/sh
#
# Copyright (c) 2004, 2014, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2004, 2018, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@ -63,7 +63,7 @@ class $classname {
public static ClassLoader classLoaderValue;
{
try {
urls[0] = new URL("hi there");
urls[0] = new URL("file:/foo");
} catch (java.net.MalformedURLException ee) {
}
classLoaderValue = new URLClassLoader(urls);