< prev index next >

test/jdk/java/lang/module/ConfigurationTest.java

Print this page

  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  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  * @enablePreview
  27  * @modules java.base/jdk.internal.access
  28  *          java.base/jdk.internal.module
  29  * @library /test/lib
  30  * @build ConfigurationTest
  31  *        jdk.test.lib.util.ModuleInfoWriter
  32  *        jdk.test.lib.util.ModuleUtils
  33  * @run testng ConfigurationTest
  34  * @summary Basic tests for java.lang.module.Configuration
  35  */
  36 
  37 import java.io.IOException;
  38 import java.io.OutputStream;
  39 import java.lang.module.Configuration;
  40 import java.lang.module.FindException;
  41 import java.lang.module.ModuleDescriptor;
  42 import java.lang.module.ModuleDescriptor.Requires;
  43 import java.lang.module.ModuleFinder;
  44 import java.lang.module.ResolutionException;
  45 import java.lang.module.ResolvedModule;
  46 import java.nio.file.Files;
  47 import java.nio.file.Path;
  48 import java.nio.file.Paths;
  49 import java.util.List;
  50 import java.util.Set;
  51 

  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  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  * @enablePreview
  27  * @modules java.base/jdk.internal.access
  28  *          java.base/jdk.internal.module
  29  * @library /test/lib
  30  * @build ConfigurationTest

  31  *        jdk.test.lib.util.ModuleUtils
  32  * @run testng ConfigurationTest
  33  * @summary Basic tests for java.lang.module.Configuration
  34  */
  35 
  36 import java.io.IOException;
  37 import java.io.OutputStream;
  38 import java.lang.module.Configuration;
  39 import java.lang.module.FindException;
  40 import java.lang.module.ModuleDescriptor;
  41 import java.lang.module.ModuleDescriptor.Requires;
  42 import java.lang.module.ModuleFinder;
  43 import java.lang.module.ResolutionException;
  44 import java.lang.module.ResolvedModule;
  45 import java.nio.file.Files;
  46 import java.nio.file.Path;
  47 import java.nio.file.Paths;
  48 import java.util.List;
  49 import java.util.Set;
  50 
< prev index next >