Integrated: 8254271: Development to deprecate wrapper class constructors for removal

Roger Riggs rriggs at openjdk.java.net
Fri Nov 6 18:00:16 UTC 2020


On Fri, 9 Oct 2020 17:49:09 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> The public constructors of the following classes have been deprecated since SE 9, and should be deprecated for removal in anticipation of these classes becoming inline classes.
> 
> java.lang.Boolean, Byte, Short, Integer, Long, Float, Double, and Character.
> 
> Existing uses of the constructors are converted to use the .valueOf(xxx) methods in classes and tests.

This pull request has now been integrated.

Changeset: 0c2ef39c
Author:    Roger Riggs <rriggs at openjdk.org>
URL:       https://git.openjdk.java.net/valhalla/commit/0c2ef39c
Stats:     115 lines in 21 files changed: 66 ins; 0 del; 49 mod

8254271: Development to deprecate wrapper class constructors for removal

Reviewed-by: mchung

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

PR: https://git.openjdk.java.net/valhalla/pull/221


More information about the valhalla-dev mailing list