----- Original Message -----
From: "Irving, Dave" <[EMAIL PROTECTED]>
To: "'BCEL Users List'" <[EMAIL PROTECTED]>
Sent: Friday, May 30, 2003 10:18 AM
Subject: Loading generated classes


> Hi all,
>
> I use BCEL to generate stub classes at runtime (to allow generic framework
> classes to wrap type-safe adapter classes).
> Currently I use my own class loader to load the class using the bytes I
> obtain from the ClassGen / JavaClass.
> What Im wondering though is impact on interoperability with other
> potentially custom class loaders already in place (had some problems using
> generated classes with JUnits swing interface). Should I really just be
> making the required (protected) methods of the Current class loader
> accessible and then using them to load my class?

We use reflection to make "defineClass" accesible, I do not think there are
more workarounds.

>
> This e-mail and any attachment is for authorised use by the intended
recipient(s) only.  It may contain proprietary material, confidential
information and/or be subject to legal privilege.  It should not be copied,
disclosed to, retained or used by, any other party.  If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender.  Thank you.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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

Reply via email to