changeset 1149:2bb277192648

8160851: Remove old launcher module-related options Reviewed-by: jjg, alanb
author mchung
date Tue, 30 Aug 2016 17:49:43 -0700
parents 1c6c21d87aa4
children 4561cb852f38
files test/javax/xml/jaxp/module/ServiceProviderTest/BasicModularXMLParserTest.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/javax/xml/jaxp/module/ServiceProviderTest/BasicModularXMLParserTest.java	Fri Aug 26 14:50:00 2016 -0700
+++ b/test/javax/xml/jaxp/module/ServiceProviderTest/BasicModularXMLParserTest.java	Tue Aug 30 17:49:43 2016 -0700
@@ -93,7 +93,7 @@
      */
     public void testWithOneProvider() throws Exception {
         int exitValue
-            = executeTestJava("-mp", MOD_DIR1.toString(),
+            = executeTestJava("--module-path", MOD_DIR1.toString(),
                               "-cp", CLASSES_DIR.toString(),
                               "Main", "xmlprovider1")
                 .outputTo(System.out)
@@ -108,7 +108,7 @@
      */
     public void testWithTwoProvider() throws Exception {
         int exitValue
-            = executeTestJava("-mp", MOD_DIR1.toString() + File.pathSeparator + MOD_DIR2.toString(),
+            = executeTestJava("--module-path", MOD_DIR1.toString() + File.pathSeparator + MOD_DIR2.toString(),
                               "-cp", CLASSES_DIR.toString(),
                               "Main", "xmlprovider1", "xmlprovider2")
                 .outputTo(System.out)