Mercurial > hg > truffle
comparison test/runtime/RedefineObject/TestRedefineObject.java @ 11018:0861193d358a
Merge
author | chegar |
---|---|
date | Fri, 31 May 2013 10:27:12 +0100 |
parents | 17db82f22f1e |
children | 85147f28faba |
comparison
equal
deleted
inserted
replaced
11017:ce9ecec70f99 | 11018:0861193d358a |
---|---|
30 * @test | 30 * @test |
31 * @bug 8005056 | 31 * @bug 8005056 |
32 * @library /testlibrary | 32 * @library /testlibrary |
33 * @build Agent | 33 * @build Agent |
34 * @run main ClassFileInstaller Agent | 34 * @run main ClassFileInstaller Agent |
35 * @run main Test | 35 * @run main TestRedefineObject |
36 * @run main/othervm -javaagent:agent.jar Agent | 36 * @run main/othervm -javaagent:agent.jar Agent |
37 */ | 37 */ |
38 public class Test { | 38 public class TestRedefineObject { |
39 public static void main(String[] args) throws Exception { | 39 public static void main(String[] args) throws Exception { |
40 | 40 |
41 PrintWriter pw = new PrintWriter("MANIFEST.MF"); | 41 PrintWriter pw = new PrintWriter("MANIFEST.MF"); |
42 pw.println("Premain-Class: Agent"); | 42 pw.println("Premain-Class: Agent"); |
43 pw.println("Can-Retransform-Classes: true"); | 43 pw.println("Can-Retransform-Classes: true"); |