< prev index next >

jdk/test/sun/net/www/protocol/jrt/other_resources.sh

Print this page

        

*** 24,34 **** # @test # @build OtherResources # @run shell other_resources.sh # @summary Access a jrt:/ resource in an observable module that is not in # the boot layer and hence not known to the built-in class loaders. This ! # test is a shell test because the run tag doesn't support -limitmods. set -e if [ -z "$TESTJAVA" ]; then if [ $# -lt 1 ]; then exit 1; fi --- 24,34 ---- # @test # @build OtherResources # @run shell other_resources.sh # @summary Access a jrt:/ resource in an observable module that is not in # the boot layer and hence not known to the built-in class loaders. This ! # test is a shell test because the run tag doesn't support --limit-modules. set -e if [ -z "$TESTJAVA" ]; then if [ $# -lt 1 ]; then exit 1; fi
*** 37,45 **** TESTSRC="`pwd`" TESTCLASSES="`pwd`" fi JAVA="$TESTJAVA/bin/java ${TESTVMOPTS}" ! $JAVA -limitmods java.base -cp $TESTCLASSES OtherResources exit 0 --- 37,45 ---- TESTSRC="`pwd`" TESTCLASSES="`pwd`" fi JAVA="$TESTJAVA/bin/java ${TESTVMOPTS}" ! $JAVA --limit-modules java.base -cp $TESTCLASSES OtherResources exit 0
< prev index next >