src/java.base/share/classes/java/security/Policy.java
changeset 58659 4113f16d5109
parent 58242 94bb65cb37d3
child 58679 9c3209ff7550
equal deleted inserted replaced
58658:55866aa5fb54 58659:4113f16d5109
   835          * Adds a permission object to the current collection of permission
   835          * Adds a permission object to the current collection of permission
   836          * objects.
   836          * objects.
   837          *
   837          *
   838          * @param permission the Permission object to add.
   838          * @param permission the Permission object to add.
   839          *
   839          *
   840          * @throws    SecurityException - if this PermissionCollection object
   840          * @throws    SecurityException   if this PermissionCollection object
   841          *                                has been marked readonly
   841          *                                has been marked readonly
   842          */
   842          */
   843         @Override public void add(Permission permission) {
   843         @Override public void add(Permission permission) {
   844             perms.add(permission);
   844             perms.add(permission);
   845         }
   845         }