Lines Matching defs:ClassFileInstaller
59 * You can use ClassFileInstaller to ensure that WhiteBox is available in the current
62 * @run main ClassFileInstaller sun.hotspot.WhiteBox
67 * @run main ClassFileInstaller -jar myjar.jar sun.hotspot.WhiteBox
69 public class ClassFileInstaller {
71 * You can enable debug tracing of ClassFileInstaller by running JTREG with
74 public static boolean DEBUG = Boolean.getBoolean("ClassFileInstaller.debug");
83 throw new RuntimeException("Usage: ClassFileInstaller <options> <classes>\n" +
90 System.out.println("ClassFileInstaller: Writing to " + System.getProperty("user.dir"));
113 // ClassFileInstaller.writeJar("redefineagent.jar",
114 // ClassFileInstaller.Manifest.fromString(manifest),
127 System.out.println("ClassFileInstaller: Writing to " + getJarPath(jarFile));
149 * You can call ClassFileInstaller.writeJar() from your main test class instead of
150 * using "@run ClassFileInstaller -jar ...". E.g.,
152 * String jarPath = ClassFileInstaller.getJarPath("myjar.jar", "sun.hotspot.WhiteBox")
154 * If you call this API, make sure you build ClassFileInstaller with the following tags:
157 * @build ClassFileInstaller
170 * This returns the absolute path to the file specified in "@ClassFileInstaller -jar myjar.jar",
177 * String jarPath = ClassFileInstaller.getJarPath("myjar.jar")
201 ClassLoader cl = ClassFileInstaller.class.getClassLoader();
236 System.out.println("ClassFileInstaller: Writing " + pathName);