New proposal for #ReflectiveAccessToNonExportedTypes: Open modules & open packages
Jochen Theodorou
blackdrag at gmx.org
Tue Nov 1 15:55:38 UTC 2016
On 01.11.2016 16:44, Alan Bateman wrote:
>
>
> On 01/11/2016 15:32, Jochen Theodorou wrote:
>> :
>>
>> Well... it makes me ask the question: Does #AwkwardStrongEncapsulation
>> impose additional limitations for the redefinition of already loaded
>> classes?
> No but if the methods in the new class redefinition are doing
> setAccessible then it's same checks as would happen if the original
> class bytes did the same thing.
If I got Remi's proposal right, I would "only" have to add the
annotation on the class by instrumentation to gain access, no need for
setAccessible
bye Jochen
More information about the jigsaw-dev
mailing list