test/jdk/java/io/Serializable/oldTests/ArrayTest.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 ArrayTest implements java.io.Serializable {
    24 public class ArrayTest implements java.io.Serializable {
       
    25     private static final long serialVersionUID = 1L;
       
    26 
    25     byte b[] = { 0, 1};
    27     byte b[] = { 0, 1};
    26     short s[] = { 0, 1, 2};
    28     short s[] = { 0, 1, 2};
    27     char c[] = { 'Z', 'Y', 'X'};
    29     char c[] = { 'Z', 'Y', 'X'};
    28     int i[] = { 0, 1, 2, 3, 4};
    30     int i[] = { 0, 1, 2, 3, 4};
    29     long l[] = { 0, 1, 2, 3, 4, 5};
    31     long l[] = { 0, 1, 2, 3, 4, 5};