RFR: 8365711: Declare menuBarHeight and hotTrackingOn private

Alexander Zuev kizune at openjdk.org
Thu Aug 21 16:24:50 UTC 2025


On Mon, 18 Aug 2025 17:05:26 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

> Since `WindowsMenuUI` is a final class after PR #24170 for [JDK-8352638](https://bugs.openjdk.org/browse/JDK-8352638)), it cannot be extended, therefore the `protected` modifier doesn't make sense.
> 
> Mark both `menuBarHeight` and `hotTrackingOn` as `private` fields.

Marked as reviewed by kizune (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/26829#pullrequestreview-3141422180


More information about the client-libs-dev mailing list