Commit cc65ed51 authored by Eric Bruneton's avatar Eric Bruneton
Browse files

Merge branch 'master' into 'master'

Add left curly brace of visitModule

See merge request asm/asm!329
parents 33a3c0e1 295fe9b5
......@@ -266,6 +266,7 @@ public class ASMifier extends Printer {
@Override
public Printer visitModule(final String name, final int flags, final String version) {
stringBuilder.setLength(0);
stringBuilder.append("{\n");
stringBuilder.append("ModuleVisitor moduleVisitor = classWriter.visitModule(");
appendConstant(name);
stringBuilder.append(", ");
......@@ -1285,11 +1286,7 @@ public class ASMifier extends Printer {
if (!isEmpty) {
stringBuilder.append(" | ");
}
if ((accessFlags & ACCESS_MODULE) == 0) {
stringBuilder.append("ACC_FINAL");
} else {
stringBuilder.append("ACC_TRANSITIVE");
}
stringBuilder.append("ACC_FINAL");
isEmpty = false;
}
if ((accessFlags & Opcodes.ACC_STATIC) != 0) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment