Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
asm
asm
Commits
cc65ed51
Commit
cc65ed51
authored
Jan 08, 2022
by
Eric Bruneton
Browse files
Merge branch 'master' into 'master'
Add left curly brace of visitModule See merge request
!329
parents
33a3c0e1
295fe9b5
Pipeline
#18503
passed with stage
in 6 minutes and 11 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
asm-util/src/main/java/org/objectweb/asm/util/ASMifier.java
View file @
cc65ed51
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment