test/jdk/java/io/Serializable/parents/OriginalClass.java
changeset 58565 baa5969ecf34
parent 47216 71c04702a3d5
equal deleted inserted replaced
58564:218a1a642c6f 58565:baa5969ecf34
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 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.
    57     }
    57     }
    58 }
    58 }
    59 
    59 
    60 
    60 
    61 class ASubClass implements Serializable {
    61 class ASubClass implements Serializable {
       
    62     private static final long serialVersionUID = 6341246181948372513L;
       
    63 
    62     int num;
    64     int num;
    63 
    65 
    64     ASubClass(int num) {
    66     ASubClass(int num) {
    65         this.num = num;
    67         this.num = num;
    66     }
    68     }