langtools/test/tools/javap/T6622260.java
changeset 1039 ca7b8a8c9268
parent 727 cb50c1ae7bab
child 1481 412a7987385c
--- a/langtools/test/tools/javap/T6622260.java	Mon Aug 04 15:09:02 2008 -0700
+++ b/langtools/test/tools/javap/T6622260.java	Mon Aug 04 17:54:15 2008 -0700
@@ -189,6 +189,10 @@
 
     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)