Re: Isolated Methods JEP

2016-08-13 Thread Jochen Theodorou
On 13.08.2016 00:54, John Rose wrote: [...] Probably the IM is just a faster, more compact way to make something you could also have made by spinning MH's together. If someone figures out what an IM can do that you can't also do with MethodHandles.* methods, I'm very eager to hear about it. (An

Re: Isolated Methods JEP

2016-08-13 Thread Peter Levart
Hi Michael, John, On 08/13/2016 12:46 AM, John Rose wrote: So there will be no class hosting this method? Not even the "caller" class of the Lookup instance that loadCode was invoked upon? What will be reported by Reflection.getCallerClass() invoked in a @CallerSensitive method invoked from t