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

Reply via email to