Skip to content

Commit

Permalink
Fix deleteParameterNames on null parameter names (Yes apparently that…
Browse files Browse the repository at this point in the history
… is in spec)
  • Loading branch information
shedaniel committed Apr 8, 2024
1 parent 06111ac commit f669cb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ public MethodVisitor visitMethod(int access, String name, String descriptor, Str
return new MethodVisitor(Opcodes.ASM9, super.visitMethod(access, name, descriptor, signature, exceptions)) {
@Override
public void visitParameter(String name, int access) {
if (vignetteParameters.matcher(name).matches()) {
if (name != null && vignetteParameters.matcher(name).matches()) {
super.visitParameter(null, access);
} else {
super.visitParameter(name, access);
Expand Down

0 comments on commit f669cb3

Please sign in to comment.