JEP 232 RFR: JDK-8065942 and JDK-8056179

Sean Mullan sean.mullan at oracle.com
Mon Jun 8 14:24:58 UTC 2015


On 06/05/2015 11:24 PM, Weijun Wang wrote:
> ServicePermission:
>
> We can also add a ServicePermission(String,int) like FilePermission has.

Good point. Updated webrev: 
http://cr.openjdk.java.net/~mullan/webrevs/8065942-8056179/webrev.01/

Changes:
   - Fixed typo in SocketPermission: JDK-4301064
   - Added "if (effective == newMask)" optimization to SocketPermission, 
FilePermission, and ServicePermission
   - Added ServicePermission(String,int) ctor and changed 
ServicePermissionCollection.add to call it.

--Sean


More information about the security-dev mailing list