Hi Mandy, Yes, but they create a member which is not accessible.
As far as I can see, all places where AccessibleObject.override is ever set there is a check of the current caller with Reflection.getCallerClass(). /Kasper On Wed, 8 Jan 2020 at 19:25, Mandy Chung <mandy.ch...@oracle.com> wrote: > > Have you looked at Lookup::revealDirect and MethodHandleInfo::reflectAs? > > Mandy >