Bug 26602

Summary: Incremental compile/build produces invalid header classes
Product: [Eclipse Project] JDT Reporter: Edi Bice <ebice>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.1 M4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Edi Bice CLA 2002-11-18 13:10:50 EST
Every now and then when I modify only one of the classes, save and package the
whole project with jar, the size nearly doubles and class loader gives "bad
header" errors. If I do a "Rebuild All", and jar them the same way, things go fine.
Comment 1 Philipe Mulet CLA 2002-11-18 17:32:44 EST
How do you perform the packaging ?
Comment 2 Edi Bice CLA 2002-11-19 09:54:22 EST
jar cf jarfile.jar com\mycomp\myproj\*.class
Comment 3 Kent Johnson CLA 2002-11-20 14:52:04 EST
How many times has it happened? Are there any similar steps or types of source 
changes? Is it always the same source file?

Do you still have one of the bad jars?

The next time it happens, can you examine the output directory for the project 
to see if anything appears different before/after the next full build.
Comment 4 Kent Johnson CLA 2002-12-06 12:18:08 EST
Closing until we get more information.

Please reopen when you have more details.