> 
> Von: "Abel Wang" <[EMAIL PROTECTED]>
> Datum: 2002/06/18 Di AM 05:24:06 GMT+02:00
> An: "BCEL Users List" <[EMAIL PROTECTED]>
> 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 AUCTION

Reisen 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/auktion

Pr�sentiert von BerlinOnline und Lucky Strike Originals
++++++++++++++++++++++++++++++++++++++++++++++++


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to