Generating ACC_SUPER for closures.
Removed commented.
This commit is contained in:
@@ -101,7 +101,7 @@ public class ClosureCodegen extends GenerationStateAware {
|
||||
: new String[] {JvmClassName.byClassDescriptor(samInterface).getInternalName()};
|
||||
cv.defineClass(fun,
|
||||
V1_6,
|
||||
ACC_FINAL,
|
||||
ACC_FINAL | ACC_SUPER,
|
||||
name.getInternalName(),
|
||||
null,
|
||||
superclass.getInternalName(),
|
||||
|
||||
@@ -31,7 +31,7 @@ public class TraitImplBodyCodegen extends ClassBodyCodegen {
|
||||
@Override
|
||||
protected void generateDeclaration() {
|
||||
v.defineClass(myClass, V1_6,
|
||||
ACC_PUBLIC | ACC_FINAL/*| Opcodes.ACC_SUPER*/,
|
||||
ACC_PUBLIC | ACC_FINAL,
|
||||
jvmName(),
|
||||
null,
|
||||
"java/lang/Object",
|
||||
|
||||
Reference in New Issue
Block a user