test/jdk/java/io/Serializable/oldTests/CircularList.java
changeset 58565 baa5969ecf34
parent 47216 71c04702a3d5
equal deleted inserted replaced
58564:218a1a642c6f 58565:baa5969ecf34
     1 /*
     1 /*
     2  * Copyright (c) 2005, 2010, 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.
    66         }
    66         }
    67     }
    67     }
    68 }
    68 }
    69 
    69 
    70 class CircularListTest implements java.io.Serializable {
    70 class CircularListTest implements java.io.Serializable {
       
    71     private static final long serialVersionUID = 1L;
       
    72 
    71     public CircularListTest next = null;
    73     public CircularListTest next = null;
    72     public static CircularListTest list = null;
    74     public static CircularListTest list = null;
    73 
    75 
    74     public static void setup() {
    76     public static void setup() {
    75         list = new CircularListTest();
    77         list = new CircularListTest();