< prev index next >

test/jdk/jigsaw/tools/jlink/basic/BasicTest.java

Print this page




  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @summary Basic test of jlink to create jmods and images
  27  * @author Andrei Eremeev
  28  * @library /jdk/jigsaw/lib /lib/testlibrary
  29  * @modules java.base/jdk.internal.module
  30  *          jdk.jlink/jdk.tools.jlink
  31  *          jdk.jlink/jdk.tools.jmod

  32  * @build jdk.testlibrary.ProcessTools
  33  *        jdk.testlibrary.OutputAnalyzer
  34  *        JarUtils CompilerUtils
  35  * @run main BasicTest
  36  */
  37 
  38 import java.io.File;
  39 import java.io.PrintWriter;
  40 import java.nio.file.Files;
  41 import java.nio.file.Path;
  42 import java.nio.file.Paths;
  43 import java.util.ArrayList;
  44 import java.util.Collections;
  45 import java.util.List;
  46 
  47 import jdk.testlibrary.OutputAnalyzer;
  48 import jdk.testlibrary.ProcessTools;
  49 
  50 public class BasicTest {
  51 




  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @summary Basic test of jlink to create jmods and images
  27  * @author Andrei Eremeev
  28  * @library /jdk/jigsaw/lib /lib/testlibrary
  29  * @modules java.base/jdk.internal.module
  30  *          jdk.jlink/jdk.tools.jlink
  31  *          jdk.jlink/jdk.tools.jmod
  32  *          jdk.compiler
  33  * @build jdk.testlibrary.ProcessTools
  34  *        jdk.testlibrary.OutputAnalyzer
  35  *        JarUtils CompilerUtils
  36  * @run main BasicTest
  37  */
  38 
  39 import java.io.File;
  40 import java.io.PrintWriter;
  41 import java.nio.file.Files;
  42 import java.nio.file.Path;
  43 import java.nio.file.Paths;
  44 import java.util.ArrayList;
  45 import java.util.Collections;
  46 import java.util.List;
  47 
  48 import jdk.testlibrary.OutputAnalyzer;
  49 import jdk.testlibrary.ProcessTools;
  50 
  51 public class BasicTest {
  52 


< prev index next >