-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 8, 11
-
Component/s: core-libs
-
b20
-
Not verified
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8206034 | 12 | Daniel Fuchs | P4 | Resolved | Fixed | team |
| JDK-8206626 | 11.0.1 | Daniel Fuchs | P4 | Resolved | Fixed | b01 |
The java.net.InetAddress class has the declaration
private void readObjectNoData (ObjectInputStream s) throws
IOException, ClassNotFoundException { ...
This is incorrect; it should not have an ObjectInputStream parameter. The recommended declaration from the java.io.Serializable doc is as follows:
private void readObjectNoData() throws ObjectStreamException
private void readObjectNoData (ObjectInputStream s) throws
IOException, ClassNotFoundException { ...
This is incorrect; it should not have an ObjectInputStream parameter. The recommended declaration from the java.io.Serializable doc is as follows:
private void readObjectNoData() throws ObjectStreamException
- backported by
-
JDK-8206034 InetAddress has wrong declaration for readObjectNoData
-
- Resolved
-
-
JDK-8206626 InetAddress has wrong declaration for readObjectNoData
-
- Resolved
-
- relates to
-
JDK-8205945 Revert unintended changes to make/gensrc/Gensrc-jdk.hotspot.agent.gmk
-
- Resolved
-
-
JDK-8202056 Expand serial warning to check for bad overloads of serial-related methods and ineffectual fields
-
- Resolved
-
-
JDK-8203263 Remove unnecessary throws clauses from serialization-related methods
-
- Resolved
-