File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
test/jdk/javax/swing/JFileChooser/8080628 Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright (c) 2015, 2018 , Oracle and/or its affiliates. All rights reserved.
2+ * Copyright (c) 2015, 2024 , 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
3333 * @test
3434 * @bug 8080628
3535 * @summary No mnemonics on Open and Save buttons in JFileChooser.
36- * @author Alexey Ivanov
36+ * @requires os.family != "linux"
37+ * @modules java.desktop/sun.swing
38+ * @run main bug8080628
39+ */
40+
41+ /*
42+ * @test
43+ * @bug 8080628
44+ * @key headful
45+ * @summary No mnemonics on Open and Save buttons in JFileChooser.
46+ * @requires os.family == "linux"
3747 * @modules java.desktop/sun.swing
3848 * @run main bug8080628
3949 */
@@ -81,8 +91,10 @@ private static void runTest() {
8191 try {
8292 UIManager .setLookAndFeel (info .getClassName ());
8393 } catch (final UnsupportedLookAndFeelException ignored ) {
94+ System .out .println ("Unsupported L&F: " + info .getClassName ());
8495 continue ;
8596 }
97+ System .out .println ("Testing L&F: " + info .getClassName ());
8698
8799 for (Locale locale : LOCALES ) {
88100 for (String key : MNEMONIC_KEYS ) {
You can’t perform that action at this time.
0 commit comments