A Bug in AccessControlContext.equals() and hashCode()?

Frank Ding dingxmin at linux.vnet.ibm.com
Mon Jun 16 14:19:49 UTC 2014

Hi Jeff,
  Thanks for your reply.  One further question is that you confirmed that
two AccessControlContext objects considered equal via method equals()
should return same results for AccessControlContext.checkPermission() but
test shows that 2 AccessControlContext objects are equal regardless of
isLimited, limitedContext, parent, permissions, or privilegedContext.  Does
it make sense and apply to Java 8 AccessControlContext with JEP140?

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/security-dev/attachments/20140616/eef5085c/attachment-0001.html>

More information about the security-dev mailing list