< prev index next > test/hotspot/jtreg/serviceability/sa/ClhsdbDumpclass.java
Print this page
OutputAnalyzer out = new OutputAnalyzer(javap);
javap.waitFor();
System.out.println(out.getStdout());
System.err.println(out.getStderr());
out.shouldHaveExitValue(0);
! out.shouldMatch("public class " + APP_DOT_CLASSNAME);
// StackMapTable might not be generated for a class
// containing only methods with sequential control flows.
// But the class used here (LingeredApp) is not such a case.
out.shouldContain("StackMapTable:");
out.shouldContain("BootstrapMethods:");
OutputAnalyzer out = new OutputAnalyzer(javap);
javap.waitFor();
System.out.println(out.getStdout());
System.err.println(out.getStderr());
out.shouldHaveExitValue(0);
! out.shouldMatch("public identity class " + APP_DOT_CLASSNAME);
// StackMapTable might not be generated for a class
// containing only methods with sequential control flows.
// But the class used here (LingeredApp) is not such a case.
out.shouldContain("StackMapTable:");
out.shouldContain("BootstrapMethods:");
< prev index next >