Defining anonymous classes

Florian Weimer fweimer at
Fri Aug 15 12:03:12 UTC 2014

On 08/14/2014 10:15 PM, Mark Roos wrote:
> Look into sun.Misc.Unsafe

[and at defineAnonymousClass(Class, byte[], Object[])]

Thanks.  Could we turn this into a supported API, with a suitable 
security manager check?

I'm surprised there aren't any callers of this method in Fedora. 
Anonymous classes look very useful for run-time code generation.

Florian Weimer / Red Hat Product Security

More information about the mlvm-dev mailing list