RE: comparison between BCEL and ASM

"BRUNETON Eric RD-MAPS-GRE" <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm,gmane.comp.jakarta.bcel.devel
Message-ID <6CF039C5B32037498B02251E11CDE6B002297262@ftrdmel3.rd.francetelecom.fr>
Henri Yandell wrote:
> I like it, a bold statement :)
> 
> So, questions to the BCEL community. 
> 
> 1) Does BCEL have use-cases over ASM? I think Eugene's statement is a
> healthy, competitive one and it'd be good to hear if there's
> disagreement.

I think BCEL is needed only if you require very fine control over the
constant pool (for example to sort these constants or to implement a
kind of watermarking for Java class by arranging the constant pool in
some specific way), since ASM does not provide access to it, by design.
But these are really specific needs, and even then, there are indirect
ways to do this with ASM (see links below).

For all other cases I agree with Eugene.

Eric

http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/asm/asm/src/org/objec
tweb/asm/optimizer/

http://cvs.forge.objectweb.org/cgi-bin/viewcvs.cgi/asm/asm/src/org/objec
tweb/asm/optimizer/Shrinker.java?rev=1.4&content-type=text/vnd.viewcvs-m
arkup
message.footer (text/plain, 268 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.