test/jdk/java/io/Serializable/serialver/nested/NestedTest.java
changeset 58565 baa5969ecf34
parent 47216 71c04702a3d5
equal deleted inserted replaced
58564:218a1a642c6f 58565:baa5969ecf34
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 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.
    43 
    43 
    44 import jdk.test.lib.JDKToolLauncher;
    44 import jdk.test.lib.JDKToolLauncher;
    45 import jdk.test.lib.process.ProcessTools;
    45 import jdk.test.lib.process.ProcessTools;
    46 
    46 
    47 public class NestedTest implements Serializable {
    47 public class NestedTest implements Serializable {
       
    48     private static final long serialVersionUID = 1L;
       
    49 
    48     public static class Test1 implements Serializable {
    50     public static class Test1 implements Serializable {
       
    51         private static final long serialVersionUID = 1L;
       
    52 
    49         public static class Test2 implements Serializable{
    53         public static class Test2 implements Serializable{
    50             private static final long serialVersionUID = 100L;
    54             private static final long serialVersionUID = 100L;
    51         }
    55         }
    52     }
    56     }
    53 
    57