On Fri, 7 Oct 2022 02:07:28 GMT, Sergey Bylokhov <[email protected]> wrote:
>> Harshitha Onkar has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> test updated
>
> src/java.desktop/share/classes/javax/swing/plaf/metal/MetalBorders.java line
> 256:
>
>> 254: * @return the rounded value
>> 255: */
>> 256: private static int roundHalfDown(double d) {
>
> The sun.java2d.pipe.Region#clipRound() seems have the same purpose, but it
> also clip the double to int.
@mrserb Thank you for the suggestion.
-------------
PR: https://git.openjdk.org/jdk/pull/10274