4884240: additional option required for javap

Reviewed-by: ksrini
This commit is contained in:
Jonathan Gibbons 2008-08-04 17:54:15 -07:00
parent 44444bd9c0
commit b6dbc8cf63
6 changed files with 172 additions and 3 deletions

View file

@ -189,6 +189,10 @@ public class T6622260 {
void verify(String output) {
System.out.println(output);
if (output.startsWith("Classfile")) {
// make sure to ignore filename
output = output.substring(output.indexOf('\n'));
}
if (output.indexOf("-") >= 0)
throw new Error("- found in output");
if (output.indexOf("FFFFFF") >= 0)