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

joe darcy joe.darcy at oracle.com
Sun Mar 13 18:46:33 UTC 2016

On 2/16/2016 8:58 AM, Mike Duigou wrote:
>> 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.

Filed RFE JDK-8151776: Add constants related to floating-point fields to 
Float and Double.


More information about the core-libs-dev mailing list