Removed volatile flag from bridge method.
Actually, volatile flag is equal to bridge flag, which is already there.
This commit is contained in:
@@ -175,7 +175,7 @@ public class ClosureCodegen extends GenerationStateAware {
|
|||||||
}
|
}
|
||||||
|
|
||||||
MethodVisitor mv = cv.newMethod(
|
MethodVisitor mv = cv.newMethod(
|
||||||
fun, ACC_PUBLIC | ACC_BRIDGE | ACC_VOLATILE, interfaceFunction.getName().getName(),
|
fun, ACC_PUBLIC | ACC_BRIDGE, interfaceFunction.getName().getName(),
|
||||||
bridge.getDescriptor(), null, new String[0]);
|
bridge.getDescriptor(), null, new String[0]);
|
||||||
if (state.getClassBuilderMode() == ClassBuilderMode.STUBS) {
|
if (state.getClassBuilderMode() == ClassBuilderMode.STUBS) {
|
||||||
genStubCode(mv);
|
genStubCode(mv);
|
||||||
|
|||||||
Reference in New Issue
Block a user