< prev index next >
test/jdk/java/lang/instrument/PremainClass/NoPremainAgentTest.java
Print this page
rev 51731 : imported patch 8210732
*** 21,41 ****
* questions.
*/
import jdk.test.lib.process.OutputAnalyzer;
import jdk.test.lib.process.ProcessTools;
! import jdk.testlibrary.Utils;
/*
* @test
* @bug 6289149
* @summary test when the agent's class is missing the premain() function.
- * @library /lib/testlibrary
* @library /test/lib
* @modules java.management
* java.instrument
! * @run build jdk.testlibrary.* DummyMain
* @run shell ../MakeJAR3.sh NoPremainAgent
* @run main/othervm -XX:-CreateCoredumpOnCrash NoPremainAgentTest
*/
public class NoPremainAgentTest {
// Use a javaagent without the premain() function.
--- 21,40 ----
* questions.
*/
import jdk.test.lib.process.OutputAnalyzer;
import jdk.test.lib.process.ProcessTools;
! import jdk.test.lib.Utils;
/*
* @test
* @bug 6289149
* @summary test when the agent's class is missing the premain() function.
* @library /test/lib
* @modules java.management
* java.instrument
! * @run build DummyMain
* @run shell ../MakeJAR3.sh NoPremainAgent
* @run main/othervm -XX:-CreateCoredumpOnCrash NoPremainAgentTest
*/
public class NoPremainAgentTest {
// Use a javaagent without the premain() function.
< prev index next >