RFR: 8365379: SU3.applyInsets may produce wrong results [v13]

Sergey Bylokhov serb at openjdk.org
Tue Sep 16 21:56:42 UTC 2025


On Tue, 16 Sep 2025 14:20:16 GMT, Renjith Kannath Pariyangad <rkannathpari at openjdk.org> wrote:

>> Hi Reviewers,
>> 
>> I have updated the insets calculation, similar calculation observed in **SynthGraphicsUtils.java**. Reused the **SwingUtilities3.java** modified code
>> 
>> Please review and let me know your suggestions if any.
>
> Renjith Kannath Pariyangad has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Fixed alignment
>  - Removed extra brackets

test/jdk/com/sun/java/swing/SwingUtilities3/ApplyInsetsTest.java line 32:

> 30:  * @test
> 31:  * @bug 8365379
> 32:  * @summary Verify SwingUtilities3 insets return correct result independent of initial values

Please split the long lines to have 80 chars per line.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27157#discussion_r2353740821


More information about the client-libs-dev mailing list