jdk-24/test/jdk/java/lang/instrument/PremainClass
Leonid Mesnik 9029bf644e 8316451: 6 java/lang/instrument/PremainClass tests ignore VM flags
Reviewed-by: cjplummer, sspitsyn
2024-02-15 22:50:14 +00:00
..
Agent.jar
CreateFiles.java
DummyMain.java
InheritAgent0001.java 8165276: Spec states to invoke the premain method in an agent class if it's public but implementation differs 2021-01-26 07:15:50 +00:00
InheritAgent0010.java 8165276: Spec states to invoke the premain method in an agent class if it's public but implementation differs 2021-01-26 07:15:50 +00:00
InheritAgent0011.java 8165276: Spec states to invoke the premain method in an agent class if it's public but implementation differs 2021-01-26 07:15:50 +00:00
InheritAgent0100.java 8165276: Spec states to invoke the premain method in an agent class if it's public but implementation differs 2021-01-26 07:15:50 +00:00
InheritAgent0101.java 8165276: Spec states to invoke the premain method in an agent class if it's public but implementation differs 2021-01-26 07:15:50 +00:00
InheritAgent0110.java 8165276: Spec states to invoke the premain method in an agent class if it's public but implementation differs 2021-01-26 07:15:50 +00:00
InheritAgent0111.java 8165276: Spec states to invoke the premain method in an agent class if it's public but implementation differs 2021-01-26 07:15:50 +00:00
InheritAgent1000.java 8165276: Spec states to invoke the premain method in an agent class if it's public but implementation differs 2021-01-26 07:15:50 +00:00
InheritAgent1001.java 8165276: Spec states to invoke the premain method in an agent class if it's public but implementation differs 2021-01-26 07:15:50 +00:00
InheritAgent1010.java 8165276: Spec states to invoke the premain method in an agent class if it's public but implementation differs 2021-01-26 07:15:50 +00:00
InheritAgent1011.java 8165276: Spec states to invoke the premain method in an agent class if it's public but implementation differs 2021-01-26 07:15:50 +00:00
InheritAgent1100.java 8165276: Spec states to invoke the premain method in an agent class if it's public but implementation differs 2021-01-26 07:15:50 +00:00
InheritAgent1101.java 8165276: Spec states to invoke the premain method in an agent class if it's public but implementation differs 2021-01-26 07:15:50 +00:00
InheritAgent1110.java 8165276: Spec states to invoke the premain method in an agent class if it's public but implementation differs 2021-01-26 07:15:50 +00:00
InheritAgent1111.java 8165276: Spec states to invoke the premain method in an agent class if it's public but implementation differs 2021-01-26 07:15:50 +00:00
NonPublicAgent.java 8165276: Spec states to invoke the premain method in an agent class if it's public but implementation differs 2021-01-26 07:15:50 +00:00
NonPublicPremainAgent.java 8165276: Spec states to invoke the premain method in an agent class if it's public but implementation differs 2021-01-26 07:15:50 +00:00
NoPremainAgent.java 8260707: java/lang/instrument/PremainClass/InheritAgent0100.java times out 2021-02-02 17:56:38 +00:00
PremainClassTest.java 8316451: 6 java/lang/instrument/PremainClass tests ignore VM flags 2024-02-15 22:50:14 +00:00
README 8284209: Replace remaining usages of 'a the' in source code 2022-05-24 20:08:11 +00:00
ZeroArgPremainAgent.java 8260707: java/lang/instrument/PremainClass/InheritAgent0100.java times out 2021-02-02 17:56:38 +00:00

This directory contains a test to exercise the Premain-Class attribute with
a non US-ASCII class name. As the file system may not support a file with 
this name the test is compiled off-line and the jar file checked into SCCS.

In the event that Agent.jar needs to be re-built here are the steps which
must be performed on a system that supports the EURO in a file name
(Windows 2000 is fine) :-

1. Create the agent source file and agent.mf :-

    javac CreateFiles.java
    java CreateFiles

2. Re-create the agent jar file :-

    rm CreateFiles.class
    javac -encoding utf8 *.java
    jar cfm Agent.jar agent.mf *.class

3. Check Agent.jar into SCCS.