Classes getting smaller

"Marc Hull (Imperial College)" <[email protected]> Wed, 06 Sep 2006 00:50:29 +0100
Newsgroups gmane.comp.jakarta.bcel.user
Message-ID <[email protected]>
Hi all,
Sorry if this has come up before - I'm new to BCEL and searched the 
archives but couldn't find an answer to this. I've been trying to 
instrument classes in rt.jar and have noticed that merely running those 
classes through BCEL (i.e. loading the class file into BCEL then writing 
the class file back again) produces smaller class files than the 
originals in many cases, but running javap over them produces the same 
result and both seem to behave in the same way. Any ideas what was in 
the original class files that is seemingly stripped by BCEL? So far I've 
only encountered this with classes in rt.jar, not other libraries.

Best wishes,
Marc Hull ([email protected])