22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @bug 8178870 |
26 * @bug 8178870 |
|
27 * @library /testlibrary |
27 * @summary Redefine class with CFLH twice to test deleting the cached_class_file |
28 * @summary Redefine class with CFLH twice to test deleting the cached_class_file |
|
29 * @build RedefineClassHelper |
|
30 * @run main RedefineClassHelper |
|
31 * @run main/othervm -javaagent:redefineagent.jar RedefineDoubleDelete |
28 */ |
32 */ |
29 |
33 |
30 public class RedefineDoubleDelete { |
34 public class RedefineDoubleDelete { |
31 |
35 |
32 // Class gets a redefinition error because it adds a data member |
36 // Class gets a redefinition error because it adds a data member |