Integrated: 8365708: Add missing @Override annotations to WindowsMenuItemUIAccessor

Alexey Ivanov aivanov at openjdk.org
Thu Aug 28 13:12:52 UTC 2025


On Mon, 18 Aug 2025 16:49:48 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> Add the missing `@Override` annotations to anonymous classes implementing `WindowsMenuItemUIAccessor`.
> 
> PR #24170 for [JDK-8352638](https://bugs.openjdk.org/browse/JDK-8352638) added the `@Override` annotations to `getMenuItem` and `getPart` but left `getState` without the annotation.
> 
> For consistency, add the annotation to the `getState` method too.

This pull request has now been integrated.

Changeset: 79d8a34a
Author:    Alexey Ivanov <aivanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/79d8a34a92350680848052717c8a1d2a4c4331aa
Stats:     5 lines in 4 files changed: 4 ins; 0 del; 1 mod

8365708: Add missing @Override annotations to WindowsMenuItemUIAccessor

Reviewed-by: serb, kizune

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

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


More information about the client-libs-dev mailing list