Skip to content

Commit

Permalink
Fix environment annotation stripping for fields (#860)
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 authored Nov 27, 2023
1 parent 114c3c3 commit 817cc90
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ public AnnotationVisitor visitAnnotation(String name, String descriptor) {
public FieldVisitor visitField(int access, String name, String descriptor, String signature, Object value) {
return new FieldVisitor(api) {
@Override
public AnnotationVisitor visitAnnotation(String descriptor, boolean visible) {
return visitMemberAnnotation(descriptor, visible, () -> stripFields.add(name + descriptor));
public AnnotationVisitor visitAnnotation(String annotationDescriptor, boolean visible) {
return visitMemberAnnotation(annotationDescriptor, visible, () -> stripFields.add(name + descriptor));
}
};
}
Expand Down

0 comments on commit 817cc90

Please sign in to comment.