Commit 82e8819a authored by forax's avatar forax
Browse files

Fix: $class() is never generated by optimizer

parent 73ed6ceb
......@@ -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();
......
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