On Fri, 3 Feb 2023 17:56:17 GMT, Phil Race <p...@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