[prev in list] [next in list] [prev in thread] [next in thread]
List: bcel-user
Subject: Re: JavaClass to Class
From: <markus.dahm () berlin ! de>
Date: 2002-06-22 12:40:26
[Download RAW message or body]
>
> Von: "Abel Wang" <abelw@nvisionsoftware.net>
> Datum: 2002/06/18 Di AM 05:24:06 GMT+02:00
> An: "BCEL Users List" <bcel-user@jakarta.apache.org>
> Betreff: JavaClass to Class
>
> Hi BCEL users, I've been playing around with BCEL for a while now and was
> wondering if there's any way for me to go from a java.lang.Class object into
> a JavaClass object, and the other way around too.
The "other way around" would be to load the class
via a class loader.
> Basically, I'm trying to dynamically change some class files that are being
> loaded by a vendor specific class loader (one that doesn't get the class
> from the system's class path). Since the .class files are not in the class
> path, I was wondering if I could create a JavaClass object from the
> java.lang.Class object directly.
You can load the class file corresponding to the
given class, see the corresponding method in the
Repository.
Cheers
markus
--
berlin.de - meine stadt im netz. Jetzt eigene eMail-adresse @berlin.de sichern!
http://webmail.berlin.de++++++++++++++++++++++++++++++++++++++++++++++++7 CITIES \
SUMMER AUCTIONReisen Sie mit uns durch das Land der grenzenlosen Merkwürdigkeiten. \
Sieben Städte, zwölf Mitbringsel und noch mehr Erlebnisse. Jeden Montag und \
Donnerstag eine neue Episode und eine neue Auktion: \
http://www.BerlinOnline.de/auktionPräsentiert von BerlinOnline und Lucky Strike \
Originals++++++++++++++++++++++++++++++++++++++++++++++++
--
To unsubscribe, e-mail: <mailto:bcel-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:bcel-user-help@jakarta.apache.org>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic