mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't try to create instances of abstract classes (IDEADEV-22693)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user