don't try to create instances of abstract classes (IDEADEV-22693)

This commit is contained in:
Dmitry Jemerov
2007-10-18 15:31:59 +04:00
parent 047e2f9e7f
commit 6ccfa3f970
@@ -392,7 +392,7 @@ public class AsmCodeGenerator {
if (myIgnoreCustomCreation) {
boolean creatable = true;
if ((componentClass.getModifiers() & Modifier.PRIVATE) != 0) {
if ((componentClass.getModifiers() & (Modifier.PRIVATE | Modifier.ABSTRACT)) != 0) {
creatable = false;
}
else {