Skip to content

Commit

Permalink
Fix FELIX-4725 using the proposed approach.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1644343 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
cescoffier committed Dec 10, 2014
1 parent 0ce13a8 commit c4af4ce
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -127,9 +127,9 @@ public MethodVisitor visitMethod(int access, String name, String desc, String si
}

// The new name is the method name prefixed by the PREFIX.
MethodVisitor mv = super.visitMethod(access, ClassManipulator.PREFIX + name, desc, signature,
MethodVisitor mv = super.visitMethod(ACC_PRIVATE, ClassManipulator.PREFIX + name, desc, signature,
exceptions);
return new MethodCodeAdapter(mv, m_outer, access, ClassManipulator.PREFIX + name, desc, m_fields);
return new MethodCodeAdapter(mv, m_outer, ACC_PRIVATE, ClassManipulator.PREFIX + name, desc, m_fields);
} else {
return super.visitMethod(access, name, desc, signature, exceptions);
}
Expand Down

0 comments on commit c4af4ce

Please sign in to comment.