jdk/test/tools/launcher/I18NArgTest.java
changeset 43340 4d25acf48a0b
parent 43325 033e4cced1dc
child 43691 f3c0d65c7b17
equal deleted inserted replaced
43339:0d9c9ef833e3 43340:4d25acf48a0b
    94             System.err.println(tr);
    94             System.err.println(tr);
    95             throw new RuntimeException("test fails");
    95             throw new RuntimeException("test fails");
    96         }
    96         }
    97 
    97 
    98         // Test via JAVA_OPTIONS
    98         // Test via JAVA_OPTIONS
       
    99 /*
    99         Map<String, String> env = new HashMap<>();
   100         Map<String, String> env = new HashMap<>();
   100         String cmd = "-Dtest.src=" + TEST_SOURCES_DIR.getAbsolutePath() +
   101         String cmd = "-Dtest.src=" + TEST_SOURCES_DIR.getAbsolutePath() +
   101                 " -Dtest.classes=" + TEST_CLASSES_DIR.getAbsolutePath() +
   102                 " -Dtest.classes=" + TEST_CLASSES_DIR.getAbsolutePath() +
   102                 " -cp " + TEST_CLASSES_DIR.getAbsolutePath() +
   103                 " -cp " + TEST_CLASSES_DIR.getAbsolutePath() +
   103                 " I18NArgTest " + unicodeStr + " " + hexValue;
   104                 " I18NArgTest " + unicodeStr + " " + hexValue;
   106         System.out.println(tr.testOutput);
   107         System.out.println(tr.testOutput);
   107         if (!tr.isOK()) {
   108         if (!tr.isOK()) {
   108             System.err.println(tr);
   109             System.err.println(tr);
   109             throw new RuntimeException("test fails");
   110             throw new RuntimeException("test fails");
   110         }
   111         }
       
   112 */
   111     }
   113     }
   112 
   114 
   113     static void testCharacters(String... args) {
   115     static void testCharacters(String... args) {
   114         String input = args[0];
   116         String input = args[0];
   115         String expected = args[1];
   117         String expected = args[1];