9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 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 * @bug 7124089 7131021 8042469 8066185 8074373 27 * @summary Checks for Launcher special flags, such as MacOSX specific flags, 28 * and JVM NativeMemoryTracking flags. 29 * @compile -XDignore.symbol.file TestSpecialArgs.java EnvironmentVariables.java 30 * @run main TestSpecialArgs 31 */ 32 import java.io.File; 33 import java.io.FileNotFoundException; 34 import java.util.HashMap; 35 import java.util.HashSet; 36 import java.util.Map; 37 import java.util.Set; 38 39 public class TestSpecialArgs extends TestHelper { 40 41 public static void main(String... args) throws Exception { 42 new TestSpecialArgs().run(args); 43 } 44 45 @Test 46 void testDocking() { 47 final Map<String, String> envMap = new HashMap<>(); 48 envMap.put("_JAVA_LAUNCHER_DEBUG", "true"); | 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 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 * @bug 7124089 7131021 8042469 8066185 8074373 27 * @summary Checks for Launcher special flags, such as MacOSX specific flags, 28 * and JVM NativeMemoryTracking flags. 29 * @modules jdk.compiler 30 * jdk.zipfs 31 * @compile -XDignore.symbol.file TestSpecialArgs.java EnvironmentVariables.java 32 * @run main TestSpecialArgs 33 */ 34 import java.io.File; 35 import java.io.FileNotFoundException; 36 import java.util.HashMap; 37 import java.util.HashSet; 38 import java.util.Map; 39 import java.util.Set; 40 41 public class TestSpecialArgs extends TestHelper { 42 43 public static void main(String... args) throws Exception { 44 new TestSpecialArgs().run(args); 45 } 46 47 @Test 48 void testDocking() { 49 final Map<String, String> envMap = new HashMap<>(); 50 envMap.put("_JAVA_LAUNCHER_DEBUG", "true"); |