< prev index next >

test/jdk/java/lang/instrument/TraceUsageAgent.java

Print this page
@@ -45,11 +45,11 @@
                  case "addTransformer" -> {
                      var transformer = new ClassFileTransformer() { };
                      inst.addTransformer(transformer);
                  }
                  case "retransformClasses" -> {
-                     inst.retransformClasses(Object.class);
+                     inst.retransformClasses(Integer.class);
                  }
                  case "redefineModule" -> {
                      Module base = Object.class.getModule();
                      inst.redefineModule(base, Set.of(), Map.of(), Map.of(), Set.of(), Map.of());
                  }
< prev index next >