test/jdk/java/io/Serializable/oldTests/BinaryTree.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.
    73         }
    73         }
    74     }
    74     }
    75 }
    75 }
    76 
    76 
    77 class BinaryTreeTest implements java.io.Serializable {
    77 class BinaryTreeTest implements java.io.Serializable {
       
    78     private static final long serialVersionUID = 1L;
       
    79 
    78     public BinaryTreeTest left;
    80     public BinaryTreeTest left;
    79     public BinaryTreeTest right;
    81     public BinaryTreeTest right;
    80     public int id;
    82     public int id;
    81     public int level;
    83     public int level;
    82 
    84