On Fri, 7 Oct 2022 17:25:32 GMT, Harshitha Onkar <hon...@openjdk.org> wrote:
>> 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. I guess `roundHalfDown` has been replaced with `Region.clipRound`, so it needs to be removed. ------------- PR: https://git.openjdk.org/jdk/pull/10274