List Info

Thread: Classes getting smaller




Classes getting smaller
user name
2006-09-06 00:23:51
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)"
<mfh02doc.ic.ac.uk>
To: <bcel-userjakarta.apache.org>
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 (mfh02doc.ic.ac.uk)
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: bcel-user-unsubscribejakarta.apache.org
> For additional commands, e-mail: bcel-user-helpjakarta.apache.org
>
> 


------------------------------------------------------------
---------
To unsubscribe, e-mail: bcel-user-unsubscribejakarta.apache.org
For additional commands, e-mail: bcel-user-helpjakarta.apache.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )