< prev index next >

test/jdk/tools/jlink/plugins/SystemModuleDescriptors/SystemModulesTest.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 57,67 **** SharedSecrets.getJavaLangModuleAccess(); private static final String OS_NAME = System.getProperty("os.name"); private static final String OS_ARCH = System.getProperty("os.arch"); // system modules containing no package private static final Set<String> EMPTY_MODULES = ! Set.of("java.se", "java.se.ee", "jdk.jdwp.agent", "jdk.pack"); @Test public void testSystemModules() { Path jimage = Paths.get(System.getProperty("java.home"), "lib", "modules"); if (Files.notExists(jimage)) --- 57,67 ---- SharedSecrets.getJavaLangModuleAccess(); private static final String OS_NAME = System.getProperty("os.name"); private static final String OS_ARCH = System.getProperty("os.arch"); // system modules containing no package private static final Set<String> EMPTY_MODULES = ! Set.of("java.se", "jdk.jdwp.agent", "jdk.pack"); @Test public void testSystemModules() { Path jimage = Paths.get(System.getProperty("java.home"), "lib", "modules"); if (Files.notExists(jimage))
< prev index next >