On Thu, 15 Dec 2022 23:41:30 GMT, Phil Race <[email protected]> wrote:
> One JCK test fails; from a quick look, it's because the font is now > uninstalled where it wasn't previously. I confirmed it's a test problem. The JCK test needs to be updated. Details are in a confidential comment in JCK. Do I need to submit a bug against JCK? > do any of the jtreg test failures characterise the JCK failure ? The failure of `javax/swing/GraphicsConfigNotifier/StalePreferredSize.java` may be related. The test fails for `JLabel`. The test calls `SwingUtilities.updateComponentTreeUI(frame)` and expects the preferred size doesn't change. Yet it does change. The failure in `sanity/client/SwingSet/src/SwingSet2DemoTest.java` is also related. It fails because of timeout where a font on a component (`JButton` presumably) doesn't change to _bold_ after selecting **Theme** → **Font** → **Bold** in the menu. Selecting this menu item results in `SwingUtilities.updateComponentTreeUI(frame)` being called to update the look and feel properties of all the components. As for the closed test failure, it doesn't look related. A component being painted is null. It shouldn't happen. ------------- PR: https://git.openjdk.org/jdk/pull/10565
