jdk/test/tools/jlink/plugins/ExcludeJmodSectionPluginTest.java
changeset 45393 de4e1efc8eec
parent 41561 0c6942d13f2e
equal deleted inserted replaced
45392:fe2cb56e7fe9 45393:de4e1efc8eec
     1 /**
     1 /**
     2  * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @summary Test --no-man-pages and --no-header-files
    26  * @summary Test --no-man-pages and --no-header-files
    27  * @library /lib/testlibrary
    27  * @library /test/lib
    28  * @modules jdk.compiler
    28  * @modules jdk.compiler
    29  *          jdk.jlink
    29  *          jdk.jlink
    30  * @build CompilerUtils
    30  * @build jdk.test.lib.compiler.CompilerUtils
    31  * @run testng ExcludeJmodSectionPluginTest
    31  * @run testng ExcludeJmodSectionPluginTest
    32  */
    32  */
    33 
    33 
    34 import java.io.BufferedWriter;
    34 import java.io.BufferedWriter;
    35 import java.io.File;
    35 import java.io.File;
    46 import java.util.List;
    46 import java.util.List;
    47 import java.util.Set;
    47 import java.util.Set;
    48 import java.util.spi.ToolProvider;
    48 import java.util.spi.ToolProvider;
    49 import java.util.stream.Collectors;
    49 import java.util.stream.Collectors;
    50 import java.util.stream.Stream;
    50 import java.util.stream.Stream;
       
    51 import jdk.test.lib.compiler.CompilerUtils;
    51 
    52 
    52 import org.testng.annotations.BeforeTest;
    53 import org.testng.annotations.BeforeTest;
    53 import org.testng.annotations.DataProvider;
    54 import org.testng.annotations.DataProvider;
    54 import org.testng.annotations.Test;
    55 import org.testng.annotations.Test;
    55 
    56