Question ad #AwkwardStrongEncapsulation (Re: Moving the changes in jake to jdk9/dev
Alan.Bateman at oracle.com
Wed Dec 14 08:07:48 UTC 2016
On 14/12/2016 07:30, Peter Levart wrote:
> Hi David,
> On 12/14/2016 07:17 AM, David Holmes wrote:
>>> But let me explain why .setAccessible(true) can't be allowed for
>>> protected members in general.
>> I'm confused as to what is being argued for/against here.
> Rony asked why .setAccessible(true) can't be used for protected
> members even if called from a subclass of the member's declaring class.
Right, I think it would be helpful if Rory could paste in a stack trace
from where setAccessible is failing so that there are specifics to discuss.
More information about the jigsaw-dev