JDK 9 RFR of JDK-8149896: Remove unnecessary values in FloatConsts and DoubleConsts

Mike Duigou openjdk at duigou.org
Tue Feb 16 16:58:18 UTC 2016


> From: joe darcy <joe.darcy at oracle.com>
> Hello,
> 
> The the FloatConsts and DoubleConsts classes, while moved to an 
> internal
> package recently (JDK-8145990), contain constants now available via the
> public API. All such uses of the redundant values should be removed as
> well as the redundant constants themselves.
> 
>      http://cr.openjdk.java.net/~darcy/8149896.0/

The changes look good to me and it is very tempting to suggest just 
retiring DoubleConstants and FloatConstants altogether and move the 
remaining quite useful constants in to Double and Float.

Mike



More information about the core-libs-dev mailing list