src/java.base/share/classes/java/security/Identity.java
changeset 57950 4612a3cfb927
parent 51759 ac6e9a2ebc04
child 58242 94bb65cb37d3
equal deleted inserted replaced
57945:e09c993ac476 57950:4612a3cfb927
     1 /*
     1 /*
     2  * Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    60 @Deprecated(since="1.2", forRemoval=true)
    60 @Deprecated(since="1.2", forRemoval=true)
    61 @SuppressWarnings("removal")
    61 @SuppressWarnings("removal")
    62 public abstract class Identity implements Principal, Serializable {
    62 public abstract class Identity implements Principal, Serializable {
    63 
    63 
    64     /** use serialVersionUID from JDK 1.1.x for interoperability */
    64     /** use serialVersionUID from JDK 1.1.x for interoperability */
       
    65     @java.io.Serial
    65     private static final long serialVersionUID = 3609922007826600659L;
    66     private static final long serialVersionUID = 3609922007826600659L;
    66 
    67 
    67     /**
    68     /**
    68      * The name for this identity.
    69      * The name for this identity.
    69      *
    70      *