Integrated: 8365711: Declare menuBarHeight and hotTrackingOn private

Alexey Ivanov aivanov at openjdk.org
Thu Aug 28 13:13:59 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.

This pull request has now been integrated.

Changeset: 22ae1374
Author:    Alexey Ivanov <aivanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/22ae137400c711a4a991153b04b360a0df57bf0b
Stats:     2 lines in 1 file changed: 0 ins; 0 del; 2 mod

8365711: Declare menuBarHeight and hotTrackingOn private

Reviewed-by: serb, prr, kizune

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

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


More information about the client-libs-dev mailing list