< prev index next >
test/runtime/modules/Xpatch/XpatchDupModule.java
Print this page
*** 23,36 ****
/*
* @test
* @summary Module system initialization exception results if a module is specificed twice to Xpatch.
* @modules java.base/jdk.internal.misc
! * @library /testlibrary
*/
! import jdk.test.lib.*;
public class XpatchDupModule {
// The module system initialization should generate an ExceptionInInitializerError
// if -Xpatch is specified with the same module more than once.
--- 23,37 ----
/*
* @test
* @summary Module system initialization exception results if a module is specificed twice to Xpatch.
* @modules java.base/jdk.internal.misc
! * @library /test/lib
*/
! import jdk.test.lib.process.ProcessTools;
! import jdk.test.lib.process.OutputAnalyzer;
public class XpatchDupModule {
// The module system initialization should generate an ExceptionInInitializerError
// if -Xpatch is specified with the same module more than once.
< prev index next >