< prev index next >

## src/java.base/share/classes/java/security/AllPermission.java

Print this page

    *** 1,7 ***
      /*
    !  * Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved.
       * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       *
       * This code is free software; you can redistribute it and/or modify it
       * under the terms of the GNU General Public License version 2 only, as
       * published by the Free Software Foundation.  Oracle designates this
    --- 1,7 ---
      /*
    !  * Copyright (c) 1998, 2021, Oracle and/or its affiliates. All rights reserved.
       * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
       *
       * This code is free software; you can redistribute it and/or modify it
       * under the terms of the GNU General Public License version 2 only, as
       * published by the Free Software Foundation.  Oracle designates this

    *** 159,11 ***

          // use serialVersionUID from JDK 1.2.2 for interoperability
          @java.io.Serial
          private static final long serialVersionUID = -4023755556366636806L;

    !     private boolean all_allowed; // true if any all permissions have been added

          /**
           * Create an empty AllPermissions object.
           *
           */
    --- 159,14 ---

          // use serialVersionUID from JDK 1.2.2 for interoperability
          @java.io.Serial
          private static final long serialVersionUID = -4023755556366636806L;

    !     /**
    +      * true if any AllPermissions have been added
    +      */
    +     private boolean all_allowed;

          /**
           * Create an empty AllPermissions object.
           *
           */

< prev index next >