mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix AsmCodeGeneratorTest in headless environment
This commit is contained in:
@@ -20,7 +20,11 @@ public class MethodCallInSuperTest extends JDialog {
|
||||
private JComponent myRootComponent;
|
||||
|
||||
public MethodCallInSuperTest() {
|
||||
super(JOptionPane.getRootFrame(), "", true);
|
||||
super(getNullFrame(), "", true);
|
||||
getContentPane().add(myRootComponent);
|
||||
}
|
||||
|
||||
private static JFrame getNullFrame() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user