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
Jamie Mansfield
asm
Commits
82e8819a
Commit
82e8819a
authored
Apr 05, 2011
by
forax
Browse files
Fix: $class() is never generated by optimizer
parent
73ed6ceb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/org/objectweb/asm/optimizer/MethodOptimizer.java
View file @
82e8819a
...
...
@@ -122,7 +122,7 @@ public class MethodOptimizer extends RemappingMethodAdapter implements Opcodes {
fieldName
,
"Ljava/lang/Class;"
);
fv
.
visitEnd
();
if
(
classOptimizer
.
class
$
)
{
if
(
!
classOptimizer
.
class
$
)
{
MethodVisitor
mv
=
classOptimizer
.
visitMethod
(
ACC_STATIC
|
ACC_SYNTHETIC
,
"class$"
,
"(Ljava/lang/String;)Ljava/lang/Class;"
,
null
,
null
);
mv
.
visitCode
();
...
...
Write
Preview
Supports
Markdown
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