equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 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. |
56 osc.getSerialVersionUID(); |
56 osc.getSerialVersionUID(); |
57 osc.toString(); |
57 osc.toString(); |
58 } |
58 } |
59 |
59 |
60 static class TestClass implements Serializable { |
60 static class TestClass implements Serializable { |
|
61 private static final long serialVersionUID = 1L; |
|
62 |
61 String str = "hello world"; |
63 String str = "hello world"; |
62 } |
64 } |
63 |
65 |
64 static class TestObjectInputStream extends ObjectInputStream { |
66 static class TestObjectInputStream extends ObjectInputStream { |
65 private ObjectStreamClass objectStreamClass; |
67 private ObjectStreamClass objectStreamClass; |