< prev index next >

test/hotspot/jtreg/runtime/verifier/CFLH/TestVerify.java

Print this page
*** 162,10 ***
--- 162,11 ---
                  inst.retransformClasses(clazz);
              } else {
                  // Load the class instrumented with CFLH for the VerifyError.
                  inst.addTransformer(new BadTransformer());
                  Class<?> cls = Class.forName(CLASS_TO_BREAK);
+                 System.out.println("class loaded" + cls);
              }
              throw new RuntimeException("Failed: Did not throw VerifyError");
          } catch (VerifyError e) {
              System.out.println("Passed: VerifyError " + e.getMessage());
          }
< prev index next >