< prev index next >
test/jdk/jdk/modules/etc/DefaultModules.java
Print this page
rev 51638 : [mq]: 8210112
*** 25,51 ****
* @test
* @bug 8197532
* @modules jdk.compiler
* jdk.jlink
* jdk.zipfs
! * @library src /lib/testlibrary
* @build java.json/*
* @run main DefaultModules
* @summary Test that all modules that export an API are in the set of modules
* resolved when compiling or running code on the class path
*/
import java.io.PrintStream;
import java.nio.file.Files;
import java.nio.file.Path;
- import java.lang.module.ModuleDescriptor;
- import java.lang.module.ModuleFinder;
- import java.lang.module.ModuleReference;
import java.util.spi.ToolProvider;
! import jdk.testlibrary.ProcessTools;
! import jdk.testlibrary.OutputAnalyzer;
/**
* This test compiles and runs the following tests on the class path:
*
* TestRootModules.java.java - tests that every module that exports an API
--- 25,47 ----
* @test
* @bug 8197532
* @modules jdk.compiler
* jdk.jlink
* jdk.zipfs
! * @library src /test/lib
* @build java.json/*
* @run main DefaultModules
* @summary Test that all modules that export an API are in the set of modules
* resolved when compiling or running code on the class path
*/
import java.io.PrintStream;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.spi.ToolProvider;
! import jdk.test.lib.process.ProcessTools;
/**
* This test compiles and runs the following tests on the class path:
*
* TestRootModules.java.java - tests that every module that exports an API
< prev index next >