RFR [9] 8040038 : Test java/net/URLPermission/nstest/lookup.sh fails with ClassNotFoundException

Chris Hegarty chris.hegarty at oracle.com
Mon Apr 14 15:30:59 UTC 2014


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
  #

-Chris.


More information about the net-dev mailing list