< prev index next >
jdk/test/javax/imageio/plugins/external_plugin_tests/TestClassPathPlugin.sh
Print this page
@@ -84,19 +84,19 @@
echo "Classpath + SecurityManager test failed: exception thrown!"
fi
# expect to find SimpReader on module path
echo "Test modular jar .. "
-$JAVA -mp $PLUGINDIR -cp $TESTDIR simptest.TestSIMPPlugin
+$JAVA --module-path $PLUGINDIR -cp $TESTDIR simptest.TestSIMPPlugin
if [ $? -ne 0 ]; then
exception=1
echo "modular jar test failed: exception thrown!"
fi
echo "Test modular jar with security manager .."
-$JAVA -Djava.security.manager -mp $PLUGINDIR -cp $TESTDIR simptest.TestSIMPPlugin
+$JAVA -Djava.security.manager --module-path $PLUGINDIR -cp $TESTDIR simptest.TestSIMPPlugin
if [ $? -ne 0 ]; then
exception=1
echo "modular jar with security manager test failed: exception thrown!"
fi
< prev index next >