Bug 26602 - Incremental compile/build produces invalid header classes
Summary: Incremental compile/build produces invalid header classes
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.1 M4   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-18 13:10 EST by Edi Bice CLA
Modified: 2002-12-06 12:18 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.