RFR: 6513512: MetalLookAndFeel.initClassDefaults does not install an entry for MetalMenuBarUI [v4]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Fri Feb 3 18:03:52 UTC 2023
On Fri, 3 Feb 2023 17:56:17 GMT, Phil Race <prr at openjdk.org> wrote:
> What would happen if you DID register all Metal*UI classes for all themes ?
> Even if it isn't used, what would go wrong ?
Well, I did try registering MetalMenuBarUI in MetalLookAndFeel.initClassDefaults (as you can see in the 1st iteration of this PR) and I do not see any regression in jtreg tests. Then it was pointed out to me that the spec, instead, need to be updated to specify it is only for OceanTheme
-------------
PR: https://git.openjdk.org/jdk/pull/11646
More information about the client-libs-dev
mailing list