fix AsmCodeGeneratorTest in headless environment

This commit is contained in:
Dmitry Jemerov
2010-06-24 22:28:37 +04:00
parent 304be2a9ee
commit 79bd0b89f8
@@ -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;
}
}