-
Bug
-
Resolution: Fixed
-
P4
-
14
-
b19
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8334279 | 11.0.25-oracle | Shivangi Gupta | P4 | Resolved | Fixed | b01 |
JDK-8335649 | 11.0.25 | Andrew Lu | P4 | Resolved | Fixed | b01 |
The test in jdk/java/io/Serializable have quite a few warnings:
- for raw types,
- "C" syntax for array declarations,
- missing serialVersionUIDs or wrong modifiers,
- use of deprecated method such as new Integer(n), Class.newInstance, et.
- Suppressing warnings for serial related uses that are intention because they are being tested.
- missing hashCode() methods even when equals() is declared.
And a copy/paste error in ArraysOfArrays that did not properly test arrays of any type other than byte[][].
- for raw types,
- "C" syntax for array declarations,
- missing serialVersionUIDs or wrong modifiers,
- use of deprecated method such as new Integer(n), Class.newInstance, et.
- Suppressing warnings for serial related uses that are intention because they are being tested.
- missing hashCode() methods even when equals() is declared.
And a copy/paste error in ArraysOfArrays that did not properly test arrays of any type other than byte[][].
- backported by
-
JDK-8334279 Warning cleanup in tests of java.io.Serializable
- Resolved
-
JDK-8335649 Warning cleanup in tests of java.io.Serializable
- Resolved
- relates to
-
JDK-8231202 Suppress warnings on non-serializable non-transient instance fields in serializable classes
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/cdfb4e7d
-
Review(master) openjdk/jdk11u-dev/2825