equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2014, 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. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
68 return type; |
68 return type; |
69 } |
69 } |
70 |
70 |
71 /** |
71 /** |
72 * Explicitly set all transient fields. |
72 * Explicitly set all transient fields. |
|
73 * @param s the serial stream |
|
74 * @throws ClassNotFoundException for a missing class during |
|
75 * deserialization |
|
76 * @throws IOException for an IO problem during deserialization |
73 */ |
77 */ |
74 private void readObject(ObjectInputStream s) |
78 private void readObject(ObjectInputStream s) |
75 throws IOException, ClassNotFoundException { |
79 throws IOException, ClassNotFoundException { |
76 s.defaultReadObject(); |
80 s.defaultReadObject(); |
77 type = null; |
81 type = null; |