< prev index next >
test/java/lang/instrument/TestAgentWithLimitMods.java
Print this page
rev 16783 : 8176176: fix @modules in jdk_svc tests
Reviewed-by: duke
*** 24,34 ****
/**
*
* @test
* @summary Tests that the -javaagent option adds the java.instrument into
* the module graph
! * @modules java.instrument
* @run shell MakeJAR3.sh SimpleAgent
* @run main/othervm -javaagent:SimpleAgent.jar --limit-modules java.base TestAgentWithLimitMods
*
*/
public class TestAgentWithLimitMods {
--- 24,34 ----
/**
*
* @test
* @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
*
*/
public class TestAgentWithLimitMods {
< prev index next >