changeset 25161:c85a08c0b9d9

8047674: java/net/URLPermission/nstest/lookup.sh NoClassDefFoundError when run in concurrent mode Reviewed-by: alanb
author chegar
date Tue, 24 Jun 2014 10:25:56 +0100
parents 6f841ed9f1ec
children c388078278d4
files jdk/test/java/net/URLPermission/nstest/lookup.sh
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/test/java/net/URLPermission/nstest/lookup.sh	Tue Jun 24 11:09:57 2014 +0200
+++ b/jdk/test/java/net/URLPermission/nstest/lookup.sh	Tue Jun 24 10:25:56 2014 +0100
@@ -24,9 +24,9 @@
 
 # @test
 # @library /lib/testlibrary
+# @build jdk.testlibrary.*
 # @compile -XDignore.symbol.file=true SimpleNameService.java
 #            LookupTest.java SimpleNameServiceDescriptor.java
-# @build jdk.testlibrary.*
 # @run shell/timeout=50 lookup.sh
 #
 
@@ -42,8 +42,7 @@
     ;;
 esac
 
-
-port=`${TESTJAVA}/bin/java -cp ${TESTCLASSES} LookupTest -getport`
+port=`${TESTJAVA}/bin/java -cp ${TESTCLASSPATH} LookupTest -getport`
 
 cat << POLICY > policy
 grant {
@@ -60,4 +59,4 @@
 ${TESTJAVA}/bin/java ${TESTVMOPTS} \
     -Djava.security.policy=file:./policy \
     -Dsun.net.spi.nameservice.provider.1=simple,sun \
-    -cp ${TESTCLASSES}${PS}${TESTSRC} LookupTest -runtest ${port}
+    -cp ${TESTCLASSPATH}${PS}${TESTSRC} LookupTest -runtest ${port}