[JDK-8365711](https://bugs.openjdk.org/browse/JDK-8365711) was implemented under the assumption that the WindowsMenuUI class is final. As part of [JDK-8359433](https://bugs.openjdk.org/browse/JDK-8359433), this will be changed back, so the assumption will no longer stay. So [JDK-8365711](https://bugs.openjdk.org/browse/JDK-8365711) should be reverted.
This fix is for jdk 27 and 26. Then [JDK-8359433](https://bugs.openjdk.org/browse/JDK-8359433) will be integrated to jdk 27, 26 and 25. ------------- Commit messages: - Revert "8365711: Declare menuBarHeight and hotTrackingOn private" Changes: https://git.openjdk.org/jdk/pull/30231/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30231&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8379952 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/30231.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30231/head:pull/30231 PR: https://git.openjdk.org/jdk/pull/30231
