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


Reply via email to