< prev index next >

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

Print this page

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

    *** 519,10 ***
    --- 519,13 ---
           * Each certificate is written out starting with a {@code String}
           * denoting the certificate type, followed by an
           * {@code int} specifying the length of the certificate encoding,
           * followed by the certificate encoding itself which is written out as an
           * array of bytes.
    +      *
    +      * @param  oos the {@code ObjectOutputStream} to which data is written
    +      * @throws IOException if an I/O error occurs
           */
          @java.io.Serial
          private void writeObject(java.io.ObjectOutputStream oos)
              throws IOException
          {

    *** 548,10 ***
    --- 551,14 ---
              }
          }

          /**
           * Restores this object from a stream (i.e., deserializes it).
    +      *
    +      * @param  ois the {@code ObjectInputStream} from which data is read
    +      * @throws IOException if an I/O error occurs
    +      * @throws ClassNotFoundException if a serialized class cannot be loaded
           */
          @java.io.Serial
          private void readObject(java.io.ObjectInputStream ois)
              throws IOException, ClassNotFoundException
          {

< prev index next >