equal
deleted
inserted
replaced
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. |
50 |
50 |
51 /* During deserialization, the no-arg constructor of a serializable base class |
51 /* During deserialization, the no-arg constructor of a serializable base class |
52 * must not be invoked. |
52 * must not be invoked. |
53 */ |
53 */ |
54 class ASuperClass implements Serializable { |
54 class ASuperClass implements Serializable { |
|
55 private static final long serialVersionUID = 1L; |
|
56 |
55 String name; |
57 String name; |
56 |
58 |
57 ASuperClass() { |
59 ASuperClass() { |
58 /* |
60 /* |
59 * This method is not to be executed during deserialization for this |
61 * This method is not to be executed during deserialization for this |