RFR: JDK-8257086: Clarify differences between {Float, Double}.equals and == [v4]

Joe Darcy darcy at openjdk.java.net
Sat Jan 30 01:50:42 UTC 2021


On Tue, 8 Dec 2020 17:10:33 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Editing pass on changes in Double; add accommodations in Float.
>
> src/java.base/share/classes/java/lang/Double.java line 1008:
> 
>> 1006:      * This method imposes a total order on {@code Double} objects
>> 1007:      * with two differences compared to the incomplete order defined the
>> 1008:      * by Java language numerical comparison operators ({@code <, <=,
> 
> Typo: defined the by Java -> defined by the Java.

Will fix; thanks.

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

PR: https://git.openjdk.java.net/jdk/pull/1699


More information about the core-libs-dev mailing list