RFR 8073056: Repeating annotations throws java.security.AccessControlException with a SecurityManager

Peter Levart peter.levart at gmail.com
Fri Feb 27 01:01:04 UTC 2015


On 02/27/2015 01:07 AM, Mandy Chung wrote:
> Thanks for the test.  The question is what the spec says about 
> SecurityException, or it should require the value() method be public 
> or there is a reason to support a non-public value() method?

The value() method is always public (since it's an interface method), 
but the interface need not be public.

>
> Mandy




More information about the core-libs-dev mailing list