equal
deleted
inserted
replaced
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 |