Summary: | Debug statements on console | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | John Arthorne <john.arthorne> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | RESOLVED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 2.1 | ||
Target Milestone: | 2.1 RC3 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
John Arthorne
2003-03-07 14:38:10 EST
I am investigating. This is still the case with RC2. This is a debug trace in the library code. If you try with J9, you don't get it. I wrote that small test case: import java.io.IOException; import java.util.zip.ZipFile; import org.eclipse.jdt.internal.compiler.classfmt.ClassFileReader; import org.eclipse.jdt.internal.compiler.classfmt.ClassFormatException; public class Test { public static void main(String[] args) { try { ClassFileReader.read(new ZipFile("d:/temp/xercesImpl.jar"), "", false); } catch (ClassFormatException e) { } catch (IOException e) { } } } This is reading the corrupted jar. I get in the console: count = 0, total = 721 but nothing is printed to the console while executing the read(...). If the read method would print anything to the console, we would get it with J9 as well and we don't. Close as INVALID. I did a google search on "count = 0, total = 22", and I found a few hits. Some people reported this using command line ant scripts, again when corrupt jars were present. So it's certainly not coming from within eclipse. |