[jdk17u-dev] RFR: 8294680: Refactor scaled border rendering
Goetz Lindenmaier
goetz at openjdk.org
Tue Sep 23 13:16:51 UTC 2025
On Mon, 22 Sep 2025 15:36:27 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:
> I backport this to make later backports more simple.
> We should keep 17 up to date, especially in awt/javax where
> subtle bugs can annoy users.
>
> I had to resolve SwingUtilities3.java as two later changes were already backported,
> see History of [17](https://github.com/openjdk/jdk17u-dev/commits/master/src/java.desktop/share/classes/com/sun/java/swing/SwingUtilities3.java) compared to [21](https://github.com/openjdk/jdk21u-dev/commits/master/src/java.desktop/share/classes/com/sun/java/swing/SwingUtilities3.java)
>
> The file is now at the level of 21, except for [8285306: Fix typos in java.desktop](https://github.com/openjdk/jdk21u-dev/commit/2a799e5c82395919b807561da4a062e0fe6da31d)
>
> I ran the following tests, selected my name:
>
> test/jdk/javax/swing/JComboBox/JComboBoxWithTitledBorderTest.java
> test/jdk/javax/swing/JInternalFrame/InternalFrameBorderTest.java
> test/jdk/javax/swing/JMenuBar/MisplacedBorder
> test/jdk/javax/swing/JTree/8041705/DefaultTreeCellRendererBorderTest.java
> test/jdk/javax/swing/border
> test/jdk/javax/swing/plaf/metal/MetalBorders
> test/jdk/javax/swing/plaf/nimbus/TestDisabledToolTipBorder.java
> test/jdk/javax/swing/plaf/synth/TitledBorderLabel.java
>
> Related issues mentioned in the bug are either backported or on my list.
Thanks for the review!
I think we should more often backport changes as [8285306: Fix typos in java.desktop](https://github.com/openjdk/jdk21u-dev/commit/2a799e5c82395919b807561da4a062e0fe6da31d) to avoid they spoil clean backports.
But it is common practice to not include such small edits of other changes in backports.
-------------
PR Comment: https://git.openjdk.org/jdk17u-dev/pull/3984#issuecomment-3323966823
More information about the jdk-updates-dev
mailing list