src/java.base/share/classes/java/util/UUID.java
changeset 57956 e0b8b019d2f5
parent 52427 3c6aa484536c
equal deleted inserted replaced
57955:18863bf3501f 57956:e0b8b019d2f5
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 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
    73 public final class UUID implements java.io.Serializable, Comparable<UUID> {
    73 public final class UUID implements java.io.Serializable, Comparable<UUID> {
    74 
    74 
    75     /**
    75     /**
    76      * Explicit serialVersionUID for interoperability.
    76      * Explicit serialVersionUID for interoperability.
    77      */
    77      */
       
    78     @java.io.Serial
    78     private static final long serialVersionUID = -4856846361193249489L;
    79     private static final long serialVersionUID = -4856846361193249489L;
    79 
    80 
    80     /*
    81     /*
    81      * The most significant 64 bits of this UUID.
    82      * The most significant 64 bits of this UUID.
    82      *
    83      *