< prev index next >

test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/DynamicArchiveTestBase.java

Print this page

*** 132,150 **** /** * Dump the base archive. The JDK's default class list is used (unless otherwise specified * in cmdLineSuffix). */ ! public static void dumpBaseArchive(String baseArchiveName, String ... cmdLineSuffix) throws Exception { CDSOptions opts = new CDSOptions(); opts.setArchiveName(baseArchiveName); opts.addSuffix(cmdLineSuffix); opts.addSuffix("-Djava.class.path="); OutputAnalyzer out = CDSTestUtils.createArchive(opts); CDSTestUtils.checkDump(out); } /** * Same as dumpBaseArchive, but also add WhiteBox to the bootcp */ --- 132,151 ---- /** * Dump the base archive. The JDK's default class list is used (unless otherwise specified * in cmdLineSuffix). */ ! public static OutputAnalyzer dumpBaseArchive(String baseArchiveName, String ... cmdLineSuffix) throws Exception { CDSOptions opts = new CDSOptions(); opts.setArchiveName(baseArchiveName); opts.addSuffix(cmdLineSuffix); opts.addSuffix("-Djava.class.path="); OutputAnalyzer out = CDSTestUtils.createArchive(opts); CDSTestUtils.checkDump(out); + return out; } /** * Same as dumpBaseArchive, but also add WhiteBox to the bootcp */
< prev index next >