RFR: 8365711: Declare menuBarHeight and hotTrackingOn private

Sergey Bylokhov serb at openjdk.org
Mon Aug 18 17:35:10 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 serb (Reviewer).

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

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


More information about the client-libs-dev mailing list