Integrated: 8299499: Usage of constructors of primitive wrapper classes should be avoided in java.net API docs

Justin Lu duke at openjdk.org
Sat Jan 7 02:21:57 UTC 2023


On Thu, 5 Jan 2023 19:09:29 GMT, Justin Lu <duke at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 63cf4aa0
Author:    Justin Lu <justin.lu at oracle.com>
Committer: Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/63cf4aa0c897406fc9370a8e05cb035caafc5d69
Stats:     3 lines in 1 file changed: 0 ins; 0 del; 3 mod

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

Reviewed-by: naoto, jpai

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

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


More information about the net-dev mailing list