test/jdk/java/lang/instrument/TestAgentWithLimitMods.java
Index Unified diffs Context diffs Sdiffs Frames Patch New Old Previous File Next File open Cdiff test/jdk/java/lang/instrument/TestAgentWithLimitMods.java

test/jdk/java/lang/instrument/TestAgentWithLimitMods.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, 2017, 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.
*** 22,31 **** --- 22,32 ---- */ /** * * @test + * @requires !vm.graal.enabled * @summary Tests that the -javaagent option adds the java.instrument into * the module graph * * @run shell MakeJAR3.sh SimpleAgent * @run main/othervm -javaagent:SimpleAgent.jar --limit-modules java.base TestAgentWithLimitMods
test/jdk/java/lang/instrument/TestAgentWithLimitMods.java
Index Unified diffs Context diffs Sdiffs Frames Patch New Old Previous File Next File