-
Bug
-
Resolution: Fixed
-
P2
-
9
-
b22
Subsequent to the JDK 9 fix for 8039383: NPE when changing Windows theme
a hang is seen in SwingSet2 when displaying the JFileChooser in Win L&F.
This trivial program is enough to reproduce it.
import javax.swing.*;
public class Freeze {
public static void main(String args[]) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
JFrame f = new JFrame("Freeze");
f.setSize(100,100);
f.show();
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (Exception e) {
}
JFileChooser fileChooser = new JFileChooser();
System.out.println("chooser="+fileChooser);
}
});
}
}
a hang is seen in SwingSet2 when displaying the JFileChooser in Win L&F.
This trivial program is enough to reproduce it.
import javax.swing.*;
public class Freeze {
public static void main(String args[]) {
SwingUtilities.invokeLater(new Runnable() {
public void run() {
JFrame f = new JFrame("Freeze");
f.setSize(100,100);
f.show();
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
} catch (Exception e) {
}
JFileChooser fileChooser = new JFileChooser();
System.out.println("chooser="+fileChooser);
}
});
}
}
- relates to
-
JDK-8039383 NPE when changing Windows Theme
-
- Resolved
-
-
JDK-8046559 NPE when changing Windows theme
-
- Resolved
-
-
JDK-8056156 [TEST_BUG] Test javax/swing/JFileChooser/8046391/bug8046391.java fails in Windows
-
- Resolved
-