jdk/test/java/lang/reflect/Proxy/ProxyTest.java
changeset 40261 86a49ba76f52
parent 36511 9d0388c6b336
child 45393 de4e1efc8eec
equal deleted inserted replaced
40260:4e69b50ccd97 40261:86a49ba76f52
    59      */
    59      */
    60     @BeforeTest
    60     @BeforeTest
    61     public void compileAll() throws Exception {
    61     public void compileAll() throws Exception {
    62         for (String mn : modules) {
    62         for (String mn : modules) {
    63             Path msrc = SRC_DIR.resolve(mn);
    63             Path msrc = SRC_DIR.resolve(mn);
    64             assertTrue(CompilerUtils.compile(msrc, MODS_DIR, "-modulesourcepath", SRC_DIR.toString()));
    64             assertTrue(CompilerUtils.compile(msrc, MODS_DIR, "--module-source-path", SRC_DIR.toString()));
    65         }
    65         }
    66     }
    66     }
    67 
    67 
    68     /**
    68     /**
    69      * Run the modular test
    69      * Run the modular test
    70      */
    70      */
    71     @Test
    71     @Test
    72     public void runTest() throws Exception {
    72     public void runTest() throws Exception {
    73         int exitValue = executeTestJava("-cp", CPATH_DIR.toString(),
    73         int exitValue = executeTestJava("-cp", CPATH_DIR.toString(),
    74                                         "-mp", MODS_DIR.toString(),
    74                                         "--module-path", MODS_DIR.toString(),
    75                                         "-m", "test/jdk.test.Main")
    75                                         "-m", "test/jdk.test.Main")
    76                             .outputTo(System.out)
    76                             .outputTo(System.out)
    77                             .errorTo(System.out)
    77                             .errorTo(System.out)
    78                             .getExitValue();
    78                             .getExitValue();
    79 
    79