RFR [9] 8040038 : Test java/net/URLPermission/nstest/lookup.sh fails with ClassNotFoundException
Alan Bateman
Alan.Bateman at oracle.com
Mon Apr 14 15:28:59 UTC 2014
On 14/04/2014 16:30, Chris Hegarty wrote:
> It looks like the change for JDK-8027221 missed an @build on the
> dependent library type, Util.
>
> This is just another sighting of the dreaded @library with -conc issue.
>
> diff --git a/test/java/net/URLPermission/nstest/lookup.sh
> b/test/java/net/URLPermission/nstest/lookup.sh
> --- a/test/java/net/URLPermission/nstest/lookup.sh
> +++ b/test/java/net/URLPermission/nstest/lookup.sh
> @@ -26,6 +26,7 @@
> # @library /lib/testlibrary
> # @compile -XDignore.symbol.file=true SimpleNameService.java
> # LookupTest.java SimpleNameServiceDescriptor.java
> +# @build jdk.testlibrary.Utils
> # @run shell/timeout=50 lookup.sh
> #
This looks okay to me. There is a fix in jtreg to support wildcard and
once that version of jtreg is in wide use then it should be possible to
fix up the tests that are failing with the same issue.
-Alan
More information about the net-dev
mailing list