RFR: 8299499: Usage of constructors of primitive wrapper classes should be avoided in java.net API docs [v2]

Justin Lu duke at openjdk.org
Fri Jan 6 00:27:31 UTC 2023


> Replacing deprecated constructors of primitive wrapper classes. Used valueOf() method as replacement.
> 
> Alternatively, auto boxing could have been used here as well. It would be beneficial to set a precedent for the other related doc bugs.

Justin Lu has updated the pull request incrementally with two additional commits since the last revision:

 - Actually fix copyright year
 - Copyright year

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/11866/files
  - new: https://git.openjdk.org/jdk/pull/11866/files/304a83c4..b87b9e97

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11866&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11866&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/11866.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11866/head:pull/11866

PR: https://git.openjdk.org/jdk/pull/11866


More information about the net-dev mailing list