src/java.base/share/classes/java/lang/Boolean.java
changeset 57956 e0b8b019d2f5
parent 49509 94ca39ef0b39
equal deleted inserted replaced
57955:18863bf3501f 57956:e0b8b019d2f5
     1 /*
     1 /*
     2  * Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1994, 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
    71      * @serial
    71      * @serial
    72      */
    72      */
    73     private final boolean value;
    73     private final boolean value;
    74 
    74 
    75     /** use serialVersionUID from JDK 1.0.2 for interoperability */
    75     /** use serialVersionUID from JDK 1.0.2 for interoperability */
       
    76     @java.io.Serial
    76     private static final long serialVersionUID = -3665804199014368530L;
    77     private static final long serialVersionUID = -3665804199014368530L;
    77 
    78 
    78     /**
    79     /**
    79      * Allocates a {@code Boolean} object representing the
    80      * Allocates a {@code Boolean} object representing the
    80      * {@code value} argument.
    81      * {@code value} argument.