There are several auxilliary attributes in a class file, not directly
related to code. BCEL is probably stripping some of those,
altho off the top of my head, i don't have a definitive list.
----- Original Message -----
From: "Marc Hull (Imperial College)" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, September 05, 2006 7:50 PM
Subject: Classes getting smaller
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])
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]