< prev index next >

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

Print this page

    *** 1,7 ***
      /*
    !  * Copyright (c) 1997, 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) 1997, 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

    *** 66,10 ***
    --- 66,13 ---
      public abstract class Permission implements Guard, java.io.Serializable {

          @java.io.Serial
          private static final long serialVersionUID = -5636570222231596674L;

    +     /**
    +      * The permission name.
    +      */
          private String name;

          /**
           * Constructs a permission with the specified name.
           *

< prev index next >