Integrated: 8372974: Add missing @Override annotations in "com.sun.java.swing.plaf.gtk" package

Sergey Bylokhov serb at openjdk.org
Mon Dec 15 07:42:02 UTC 2025


On Wed, 3 Dec 2025 04:39:02 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

> This patch adds missing `@Override` annotations to methods in the `com.sun.java.swing.plaf.gtk` package that override methods from a superclass or interface.
> Only source annotations are added; there are no behavioral changes.
> 
> The previous patch for `com.sun.beans` can be found here: https://github.com/openjdk/jdk/pull/27887.
> 
> BTW, does anybody know why the gtk l&f is located in the shared code? Possibly we could move it to the unix folder, similar to how the windows l&f was moved to the windows folder in https://bugs.openjdk.org/browse/JDK-8189656 ?

This pull request has now been integrated.

Changeset: 01adf28c
Author:    Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/01adf28c946580751f7c041b13c987f477a6289a
Stats:     198 lines in 9 files changed: 190 ins; 0 del; 8 mod

8372974: Add missing @Override annotations in "com.sun.java.swing.plaf.gtk" package

Reviewed-by: prr

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

PR: https://git.openjdk.org/jdk/pull/28624


More information about the client-libs-dev mailing list