jakarta-bcel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ernie Makris" <ern...@mediaone.net>
Subject Repository Enhancements
Date Thu, 20 Dec 2001 15:45:58 GMT

I would like to propose some changes to org.apache.bcel.Repository.
The current implementation contains a static reference to a ClassPath, named
class_path. I would
like to add the ability to change, or set the ClassPath object used by the
Any comments?, I will submit the patches soon.

Also, I've made a patch to ClassPath, I added a method addClassPath that
appends a classpath
string to an existing ClassPath object. I also think we should use an
ArrayList to store the PathEntries in
a ClassPath object, what does everyone think? The constructor uses and
ArrayList, but calls toArray
to convert it to an array of PathEntries. The downside of using an ArrayList
to store the PathEntries in the object
is the casting required. But it would make adding classpaths easier.

The purpose of the changes above is to provide the ability to change the
classpath at runtime.


To unsubscribe, e-mail:   <mailto:bcel-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:bcel-dev-help@jakarta.apache.org>

View raw message