src/java.base/share/classes/java/security/Key.java
changeset 51437 6221a199ec20
parent 51317 e122220d7d7e
child 54644 8d52b4c6f9d8
equal deleted inserted replaced
51436:091c0d22e735 51437:6221a199ec20
   106 
   106 
   107    /**
   107    /**
   108     * The class fingerprint that is set to indicate
   108     * The class fingerprint that is set to indicate
   109     * serialization compatibility with a previous
   109     * serialization compatibility with a previous
   110     * version of the class.
   110     * version of the class.
       
   111     *
       
   112     * @deprecated A {@code serialVersionUID} field in an interface is
       
   113     * ineffectual. Do not use; no replacement.
   111     */
   114     */
   112     @SuppressWarnings("serial") // serialVersionUID in an interface is ineffectual
   115     @Deprecated
       
   116     @SuppressWarnings("serial")
   113     static final long serialVersionUID = 6603384152749567654L;
   117     static final long serialVersionUID = 6603384152749567654L;
   114 
   118 
   115     /**
   119     /**
   116      * Returns the standard algorithm name for this key. For
   120      * Returns the standard algorithm name for this key. For
   117      * example, "DSA" would indicate that this key is a DSA key.
   121      * example, "DSA" would indicate that this key is a DSA key.