The Java folks will have to answer this, but I have heard that there are thoughts on how to make unsafe safe and portable.  You might ask on the jigsaw list.

-Mark

> On Aug 15, 2014, at 5:03 AM, "Florian Weimer" <fwei...@redhat.com> wrote:
>
> 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
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev@openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to