-
Enhancement
-
Resolution: Fixed
-
P4
-
17
-
b05
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8300388 | 20.0.1 | Dukebot | P4 | Resolved | Fixed | b02 |
JDK-8300151 | 20 | Dukebot | P4 | Resolved | Fixed | b32 |
A DESCRIPTION OF THE PROBLEM :
There are several code samples in the Java SE API documentation still using constructors of primitive wrapper classes, which are deprecated for removal. They should be replaced by valueOf factory methods or auto-boxing.
Here's what I found:
java.text.ChoiceFormat
java.text.MessageFormat
There are several code samples in the Java SE API documentation still using constructors of primitive wrapper classes, which are deprecated for removal. They should be replaced by valueOf factory methods or auto-boxing.
Here's what I found:
java.text.ChoiceFormat
java.text.MessageFormat
- backported by
-
JDK-8300151 Usage of constructors of primitive wrapper classes should be avoided in java.text API docs
- Resolved
-
JDK-8300388 Usage of constructors of primitive wrapper classes should be avoided in java.text API docs
- Resolved
- clones
-
JDK-8299502 Usage of constructors of primitive wrapper classes should be avoided in javax.xml API docs
- Resolved
- links to
-
Commit openjdk/jdk20/98eae6da
-
Commit openjdk/jdk/cd10c727
-
Review openjdk/jdk20/106
-
Review openjdk/jdk/11884
(2 links to)