Delegated members should not be synthetic
Otherwise they are invisible to Java code
This commit is contained in:
@@ -737,7 +737,7 @@ public class FunctionCodegen extends ParentCodegenAwareImpl {
|
||||
Method overriddenMethod = jvmOverriddenMethodSignature.getAsmMethod();
|
||||
Method delegateMethod = jvmDelegateMethodSignature.getAsmMethod();
|
||||
|
||||
int flags = ACC_PUBLIC | ACC_SYNTHETIC; // TODO.
|
||||
int flags = ACC_PUBLIC;
|
||||
|
||||
MethodVisitor mv = v.newMethod(null, flags, delegateMethod.getName(), delegateMethod.getDescriptor(), null, null);
|
||||
if (state.getClassBuilderMode() != ClassBuilderMode.FULL) return;
|
||||
|
||||
Reference in New Issue
Block a user