axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Ruby" <ru...@us.ibm.com>
Subject Heads-up / opinions? - BCEL -> tt-bytecode
Date Tue, 19 Feb 2002 20:41:42 GMT
Comments?

Glen - a pet peeve of mine is Apache projects who don't talk to one
another....  Grrr.

- Sam Ruby
---------------------- Forwarded by Sam Ruby/Raleigh/IBM on 02/19/2002
03:40 PM ---------------------------

Glen Daniels <gdaniels@macromedia.com> on 02/18/2002 06:50:07 PM

Please respond to axis-dev@xml.apache.org

To:    "Axis-Dev (E-mail)" <axis-dev@xml.apache.org>
cc:
Subject:    Heads-up / opinions? - BCEL -> tt-bytecode




Hi all.

So, while looking into some reported problems with BCEL, I ran into a
couple of difficulties with the library.  In particular, there is no way to
get BCEL to make you a JavaClass from a java.lang.Class, so it tries to
load the class, which was failing to work with JWS files on my home
machine.

As an alternative, I switched over the code to use the tt-bytecode library
from SourceForge (http://tt-bytecode.sf.net/), which has the following
benefits:

1) The jar is much smaller (128k vs. 335k)

2) It has an easy to use API for creating a new BClass with a Class
parameter, solving the classloader issue

This is a BSD style license jar file.

I'm going to commit my changes, which also make sure that JWS files are
compiled in debug mode (at least for javac), and leave the bcel.jar there
for now as well.  If everyone's good with this switchover tomorrow, I'll
remove bcel, if not I can roll back the change.

--Glen





Mime
View raw message