/art/test/917-fields-transformation/src/art/ |
D | Test917.java | 22 static class Transform { class in Test917 26 public Transform(String take1, String take2) { in Transform() method in Test917.Transform 81 doTest(new Transform("Hello", "Goodbye"), in run() 82 new Transform("start", "end")); in run() 85 private static void printTransform(Transform t) { in printTransform() 90 public static void doTest(Transform t1, Transform t2) { in doTest() 93 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
|
/art/test/921-hello-failure/src/ |
D | Main.java | 23 Verification.doTest(new Transform()); in main() 24 NewName.doTest(new Transform()); in main() 25 DifferentAccess.doTest(new Transform()); in main() 29 MultiRedef.doTest(new Transform(), new Transform2()); in main() 30 MultiRetrans.doTest(new Transform(), new Transform2()); in main() 31 NewMethod.doTest(new Transform()); in main() 33 MethodChange.doTest(new Transform()); in main() 34 NewField.doTest(new Transform()); in main() 37 Unmodifiable.doTest(new Transform[] { new Transform(), }); in main()
|
/art/test/932-transform-saves/src/art/ |
D | Test932.java | 24 static class Transform { class in Test932 106 doTest(new Transform()); in run() 109 public static void doTest(Transform t) { in doTest() 115 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES_A, DEX_BYTES_A); in doTest() 121 Redefinition.doCommonClassRetransformation(Transform.class); in doTest() 126 Redefinition.doCommonClassRetransformation(Transform.class); in doTest()
|
/art/test/986-native-method-bind/src/art/ |
D | Test986.java | 26 static class Transform { class in Test986 58 Method say_hi_method = Transform.class.getDeclaredMethod("sayHi"); in doTest() 61 Transform.sayHi2(); in doTest() 65 Transform.sayHi(); in doTest() 70 Transform.sayHi(); in doTest() 75 Transform.sayHi(); in doTest() 94 rebindTransformClass(Transform.class); in rebindTransformClass()
|
/art/test/986-native-method-bind/ |
D | expected.txt | 1 private static native void art.Test986$Transform.sayHi2() = Java_art_Test986_00024Transform_sayHi2 … 3 private static native void art.Test986$Transform.sayHi() = Java_art_Test986_00024Transform_sayHi__ … 6 private static native void art.Test986$Transform.sayHi() = Java_art_Test986_00024Transform_sayHi__ … 7 private static native void art.Test986$Transform.sayHi2() = Java_art_Test986_00024Transform_sayHi2 … 9 private static native void art.Test986$Transform.sayHi() = Java_art_Test986_00024Transform_sayHi__ … 10 private static native void art.Test986$Transform.sayHi2() = Java_art_Test986_00024Transform_sayHi2 …
|
/art/test/935-non-retransformable/src-ex/ |
D | TestMain.java | 21 Transform t = new Transform(); in runTest() 24 Method hi = Transform.class.getMethod("sayHi"); in runTest() 25 Method bye = Transform.class.getMethod("sayGoodbye"); in runTest()
|
/art/test/982-ok-no-retransform/src/art/ |
D | Test982.java | 22 static class Transform { class in Test982 30 doTest(new Transform()); in run() 33 public static void doTest(Transform t) { in doTest() 36 Redefinition.doCommonClassRetransformation(Transform.class); in doTest()
|
/art/test/948-change-annotations/ |
D | expected.txt | 3 method public void Transform.sayHi() -> [@TestMethodAnnotation1(value=hi hi)] 7 method public void Transform.sayHi() -> [] 10 method public void Transform.sayHi() -> [@TestMethodAnnotation1(value=hi hi)] 14 method public void Transform.sayHi() -> [@TestMethodAnnotation1(value=hi hi), @TestMethodAnnotation… 17 method public void Transform.sayHi() -> [@TestMethodAnnotation1(value=hi hi)] 21 method public void Transform.sayHi() -> [@TestMethodAnnotation1(value=Bye Bye)]
|
/art/test/902-hello-transformation/src/art/ |
D | Test902.java | 22 static class Transform { class in Test902 74 doTest(new Transform()); in run() 77 public static void doTest(Transform t) { in doTest() 79 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
|
/art/test/930-hello-retransform/src/art/ |
D | Test930.java | 22 static class Transform { class in Test930 68 doTest(new Transform()); in run() 71 public static void doTest(Transform t) { in doTest() 75 Redefinition.doCommonClassRetransformation(Transform.class); in doTest()
|
/art/test/943-private-recursive-jit/src/ |
D | Main.java | 114 doTest(new Transform()); in main() 119 public static void doTest(Transform t) { in doTest() 126 say_hi_method = Transform.class.getDeclaredMethod( in doTest() 128 private_say_hi_method = Transform.class.getDeclaredMethod( in doTest() 147 doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest() 152 ensureJitCompiled(Transform.class, "sayHi"); in doTest() 153 ensureJitCompiled(Transform.class, "privateSayHi"); in doTest()
|
/art/test/944-transform-classloaders/src/art/ |
D | Test944.java | 27 static class Transform { class in Test944 48 Transform.class, 235 Transform t = new Transform(); in doTest() 238 long initial_t1_dex = getDexFilePointer(Transform.class); in doTest() 241 throw new Exception("The classes " + Transform.class + " and " + Transform2.class + " " + in doTest() 244 checkDexFileInClassLoader(Transform.class); in doTest() 256 long final_t1_dex = getDexFilePointer(Transform.class); in doTest() 259 throw new Exception("The classes " + Transform.class + " and " + Transform2.class + " " + in doTest() 262 throw new Exception("The class " + Transform.class + " did not get a new dex file!"); in doTest() 267 checkDexFileInClassLoader(Transform.class); in doTest()
|
/art/test/947-reflect-method/src/art/ |
D | Test947.java | 24 static class Transform { class in Test947 69 doTest(new Transform()); in run() 72 public static void doTest(Transform t) { in doTest() 76 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
|
/art/test/1937-transform-soft-fail/src/art/ |
D | Test1937.java | 24 static class Transform { class in Test1937 79 doTest(new Transform()); in run() 82 public static void doTest(Transform t) { in doTest() 84 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
|
/art/test/985-re-obsolete/src/art/ |
D | Test985.java | 23 static class Transform { class in Test985 181 doTest(new Transform()); in run() 184 public static void doTest(Transform t) { in doTest() 188 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES_1, DEX_BYTES_1); in doTest() 193 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES_2, DEX_BYTES_2); in doTest()
|
/art/test/945-obsolete-native/src/art/ |
D | Test945.java | 23 static class Transform { class in Test945 85 doTest(new Transform()); in run() 88 public static void doTest(Transform t) { in doTest() 92 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
|
/art/test/914-hello-obsolescence/src/art/ |
D | Test914.java | 24 static class Transform { class in Test914 75 doTest(new Transform()); in run() 78 public static void doTest(Transform t) { in doTest() 82 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
|
/art/test/987-agent-bind/src/art/ |
D | Test987.java | 21 static class Transform { class in Test987 31 Transform.sayHi(); in doTest() 32 Transform.sayHi2(); in doTest()
|
/art/test/940-recursive-obsolete/src/art/ |
D | Test940.java | 23 static class Transform { class in Test940 95 doTest(new Transform()); in run() 98 public static void doTest(Transform t) { in doTest() 102 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
|
/art/test/946-obsolete-throw/src/art/ |
D | Test946.java | 23 static class Transform { class in Test946 73 doTest(new Transform()); in run() 80 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in run() 85 public static void doTest(Transform t) { in doTest()
|
/art/test/1957-error-ext/src/art/ |
D | Test1957.java | 22 static class Transform { class in Test1957 65 Transform t = new Transform(); in run() 68 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in run()
|
/art/test/915-obsolete-2/src/art/ |
D | Test915.java | 23 static class Transform { class in Test915 112 doTest(new Transform()); in run() 115 public static void doTest(Transform t) { in doTest() 119 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
|
/art/test/942-private-recursive/src/art/ |
D | Test942.java | 23 static class Transform { class in Test942 104 doTest(new Transform()); in run() 107 public static void doTest(Transform t) { in doTest() 111 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
|
/art/test/919-obsolete-fields/src/art/ |
D | Test919.java | 24 static class Transform { class in Test919 26 public Transform(Consumer<String> reporter) { in Transform() method in Test919.Transform 154 doTest(new Transform(w), w); in run() 157 public static void doTest(Transform t, TestWatcher w) { in doTest() 160 Redefinition.doCommonClassRedefinition(Transform.class, CLASS_BYTES, DEX_BYTES); in doTest()
|
/art/test/1947-breakpoint-redefine-deopt/src/ |
D | Main.java | 25 static class Transform { class in Main 78 Method targetMethod = Transform.class.getDeclaredMethod("sayHi"); in main() 79 Transform t = new Transform(); in main() 91 Redefinition.doCommonClassRedefinition(Transform.class, new byte[0], DEX_BYTES); in main()
|