RFR: 8365708: Add missing @Override annotations to WindowsMenuItemUIAccessor

Alexander Zuev kizune at openjdk.org
Thu Aug 21 04:51: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.

Looks good.

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

Marked as reviewed by kizune (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/26828#pullrequestreview-3139010434


More information about the client-libs-dev mailing list