Re: Classes getting smaller
"Dave Brosius" <[email protected]> Tue, 5 Sep 2006 20:23:51 -0400
| Newsgroups | gmane.comp.jakarta.bcel.user |
|---|---|
| Message-ID | <006701c6d14a$bb551be0$6401a8c0@MeBigFatGuy> |
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] > >