afu8u/jdk/test/java/lang/instrument/PremainClass
Yekaterina Kantserova 97e991f4d6 8043529: Serviceability tests using @library failing with java.lang.NoClassDefFoundError
Reviewed-by: sla, jbachorik
2014-05-22 11:23:46 +02:00
..
Agent.jar
CreateFiles.java
DummyMain.java
InheritAgent0001.java
InheritAgent0010.java
InheritAgent0011.java
InheritAgent0100.java
InheritAgent0101.java
InheritAgent0110.java
InheritAgent0111.java
InheritAgent1000.java
InheritAgent1001.java
InheritAgent1010.java
InheritAgent1011.java
InheritAgent1100.java
InheritAgent1101.java
InheritAgent1110.java
InheritAgent1111.java
NoPremainAgent.java
NoPremainAgentTest.java 8043529: Serviceability tests using @library failing with java.lang.NoClassDefFoundError 2014-05-22 11:23:46 +02:00
PremainClassTest.java 8043529: Serviceability tests using @library failing with java.lang.NoClassDefFoundError 2014-05-22 11:23:46 +02:00
README
ZeroArgPremainAgent.java
ZeroArgPremainAgentTest.java 8043529: Serviceability tests using @library failing with java.lang.NoClassDefFoundError 2014-05-22 11:23:46 +02:00

README

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 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.