On Jun 21, 2017, at 8:56 AM, Remi Forax <fo...@univ-mlv.fr> wrote: > > John, > Do we agree that this API can also replace the constant pool patching done by > unsafe.defineAnonymousClass, > i.e. that the Object can be any live Object?
This seems close to possible, although I would imagine that a nest-injected class would usually be a primary class. That means getUserData would return non-null for a primary, which goes a little beyond what was envisioned in that patch. The userData value would be passed to the nest-injector function. — John