equal
deleted
inserted
replaced
132 |
132 |
133 /** |
133 /** |
134 * Dump the base archive. The JDK's default class list is used (unless otherwise specified |
134 * Dump the base archive. The JDK's default class list is used (unless otherwise specified |
135 * in cmdLineSuffix). |
135 * in cmdLineSuffix). |
136 */ |
136 */ |
137 public static void dumpBaseArchive(String baseArchiveName, String ... cmdLineSuffix) |
137 public static OutputAnalyzer dumpBaseArchive(String baseArchiveName, String ... cmdLineSuffix) |
138 throws Exception |
138 throws Exception |
139 { |
139 { |
140 CDSOptions opts = new CDSOptions(); |
140 CDSOptions opts = new CDSOptions(); |
141 opts.setArchiveName(baseArchiveName); |
141 opts.setArchiveName(baseArchiveName); |
142 opts.addSuffix(cmdLineSuffix); |
142 opts.addSuffix(cmdLineSuffix); |
143 opts.addSuffix("-Djava.class.path="); |
143 opts.addSuffix("-Djava.class.path="); |
144 OutputAnalyzer out = CDSTestUtils.createArchive(opts); |
144 OutputAnalyzer out = CDSTestUtils.createArchive(opts); |
145 CDSTestUtils.checkDump(out); |
145 CDSTestUtils.checkDump(out); |
|
146 return out; |
146 } |
147 } |
147 |
148 |
148 /** |
149 /** |
149 * Same as dumpBaseArchive, but also add WhiteBox to the bootcp |
150 * Same as dumpBaseArchive, but also add WhiteBox to the bootcp |
150 */ |
151 */ |