test/hotspot/jtreg/runtime/appcds/jigsaw/modulepath/AddOpens.java
changeset 51507 3e3764f8fe36
parent 49942 f4310c01104d
child 51675 b487c1e914d0
equal deleted inserted replaced
51506:71c3b8c51977 51507:3e3764f8fe36
    85         // create an archive with both -cp and --module-path in the command line.
    85         // create an archive with both -cp and --module-path in the command line.
    86         // Only the class in the modular jar in the --module-path will be archived;
    86         // Only the class in the modular jar in the --module-path will be archived;
    87         // the class in the modular jar in the -cp won't be archived.
    87         // the class in the modular jar in the -cp won't be archived.
    88         OutputAnalyzer output = TestCommon.createArchive(
    88         OutputAnalyzer output = TestCommon.createArchive(
    89                                         destJar.toString(), appClasses,
    89                                         destJar.toString(), appClasses,
    90                                         "-Xlog:class+load=trace",
       
    91                                         "--module-path", moduleDir.toString(),
    90                                         "--module-path", moduleDir.toString(),
    92                                         "-m", TEST_MODULE1);
    91                                         "-m", TEST_MODULE1);
    93         TestCommon.checkDump(output);
    92         TestCommon.checkDump(output);
    94 
    93 
    95         // run with the archive using the same command line as in dump time
    94         // run with the archive using the same command line as in dump time