I really hope that some official API makes the cut.

In the case of defineClass, java.lang.reflect.Proxy also needs this
functionality, and uses its own native defineClass0 in order to inject the
proxy classes into the correct class loader.
I don't know if making that defineClass method accessible would be
appropriate, but considering many of the libraries out there are creating
proxies or proxy-like classes, perhaps it would be?

/Michael

Reply via email to