RFR: 8278937: JCK test for java_awt/geom/Line2D.Float fails after 8277868
Jayathirth D V
jdv at openjdk.java.net
Fri Dec 17 04:37:24 UTC 2021
On Fri, 17 Dec 2021 02:40:04 GMT, Phil Race <prr at openjdk.org> wrote:
> This reverts the uses of Float.compare() and Double.compare() made by the fix for 8277868
> since it appears clear that for better or worse they are not 100% compatible with the previous code.
> These uses are all in the desktop module
>
> For comparison the original changes are here : https://github.com/openjdk/jdk/pull/6575/files
Marked as reviewed by jdv (Reviewer).
Looks like some precision differences in fractional numbers is causing this. As mentioned in JBS, i think these differences might not apply for Integer comparison.
LGTM.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6875
More information about the client-libs-dev
mailing list