test/jdk/java/io/Serializable/oldTests/PrimitivesTest.java
changeset 58565 baa5969ecf34
parent 47216 71c04702a3d5
equal deleted inserted replaced
58564:218a1a642c6f 58565:baa5969ecf34
     1 /*
     1 /*
     2  * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2005, 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.
     7  * published by the Free Software Foundation.
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  */
    22  */
    23 
    23 
    24 public class PrimitivesTest implements java.io.Serializable {
    24 public class PrimitivesTest implements java.io.Serializable {
       
    25     private static final long serialVersionUID = 1L;
       
    26 
    25     byte b = 1;
    27     byte b = 1;
    26     char c = 'c';
    28     char c = 'c';
    27     float f = 3.14159f;
    29     float f = 3.14159f;
    28     long l = 3;
    30     long l = 3;
    29     double d = 1.740;
    31     double d = 1.740;