IDEA-53883 Anonymous classes and Ctrl+Shift+Space completion may cause IDE Fatal error

This commit is contained in:
peter.gromov
2010-11-19 20:59:39 +03:00
parent 99681d7117
commit 8bade670b0
4 changed files with 59 additions and 23 deletions
@@ -0,0 +1,21 @@
import java.io.File;
import java.io.FilenameFilter;
class Intermediate {
{
new File(".").listFiles(new FilenameFilter() {
@Override
public boolean accept(File dir, String name) {
<selection>return false; //To change body of implemented methods use File | Settings | File Templates.</selection>
}
})
SwingUtilities.invokeLater(new Runnable() {
public void run() {
}
});
}
}
@@ -0,0 +1,15 @@
import java.io.File;
class Intermediate {
{
new File(".").listFiles(new FileFilter<caret>
SwingUtilities.invokeLater(new Runnable() {
public void run() {
}
});
}
}