java-topology/test/jdk/java/lang/instrument/PremainClass/README
russell@unturf.com 0a580b313d undefect. CWE-407 — 63 sites patched across 27 ecosystems
Authors: russell@unturf.com · brackishbert@gmail.com · foxhop.net · TimeHexOn.com

Patches, unit tests, benchmarks, whitepaper, and outreach briefs.
Public domain — no copyright claimed. Use freely.
2026-03-26 17:11:57 -04:00

21 lines
659 B
Text

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.