Hey guys, Not exactly sure but I think JRuby 3000? uses it under the covers, but I might be mistaken. I guess Charles can shed some more light.
Christoph Engelbert Manager Developer Relations 350 Cambridge Ave Suite #50, Palo Alto, CA 94306 USA (based in Germany) [email protected] <mailto:[email protected]> +49 160 9648 2677 @noctarius2k skype: noctarius_ > On 22 Feb 2017, at 20:22, Paul Sandoz <[email protected]> wrote: > > Hi, > > I think we should remove the method sun.misc.Unsafe.defineAnonymousClass. > > This is one leaked through in the move to the unsupported module. I believe > under the remit of unsupported module we can still do this. > > There are no usages on grepcode.com <http://grepcode.com/>, and we really > don’t want anyone to start depending on this, especially for constant pool > patching, where such a public API might require some careful thought, > compared to the anon class support itself which is somewhat simpler. > > If developers really want constant pool patching they can crack open the > jdk.internal.misc package and then they really know this is not supported. > > For the anon class support we are considering retconning to nest mates and > with a public method on MethodHandles.lookup. > > Paul. > > >
