11/*
2- * Copyright (c) 2018, 2022 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2018, 2025 , Oracle and/or its affiliates. All rights reserved.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * This code is free software; you can redistribute it and/or modify it
6666 * It is checked by SwingUtilities.updateComponentTreeUI(), if layout
6767 * was correct the call to updateComponentTreeUI() will be no-op.
6868 * @compile -encoding utf-8 StalePreferredSize.java
69- * @run main/othervm/timeout=600 StalePreferredSize
70- * @run main/othervm/timeout=600 -Dsun.java2d.uiScale=1 StalePreferredSize
71- * @run main/othervm/timeout=600 -Dsun.java2d.uiScale=2.25 StalePreferredSize
69+ * @run main/othervm/timeout=420 StalePreferredSize
70+ * @run main/othervm/timeout=420 -Dsun.java2d.uiScale=2.25 StalePreferredSize
7271 */
7372public final class StalePreferredSize {
7473
@@ -92,7 +91,7 @@ public final class StalePreferredSize {
9291 public static void main (final String [] args ) throws Exception {
9392 for (final UIManager .LookAndFeelInfo laf : getInstalledLookAndFeels ()) {
9493 EventQueue .invokeAndWait (() -> setLookAndFeel (laf ));
95- for (typeFont = 0 ; typeFont < 3 ; typeFont ++) {
94+ for (typeFont = 0 ; typeFont < 1 ; typeFont ++) {
9695 System .err .println ("typeFont = " + typeFont );
9796 for (boolean usePopup : new boolean []{true , false }) {
9897 addViaPopup = usePopup ;
0 commit comments