mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
IDEA-53883 Anonymous classes and Ctrl+Shift+Space completion may cause IDE Fatal error
This commit is contained in:
@@ -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() {
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user