On Thu, 5 Jan 2023 19:09:29 GMT, Justin Lu <d...@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.

I chose valueOf() because I thought it provided more clarity from a 
documentation standpoint. Open to any suggestions.

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

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

Reply via email to