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

Mandy Chung mandy.chung at oracle.com
Fri Feb 27 00:07:28 UTC 2015


On 2/26/15 2:04 PM, Peter Levart wrote:
> I verified this with the following code:
> :
>
> ... it works without problems and prints the expected:

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?

Mandy



More information about the core-libs-dev mailing list