Skip to content

Commit

Permalink
fix: Fix attribute adder for parameter annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Berstanio committed Nov 29, 2024
1 parent 971b5f1 commit 234baf6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ public void visitRuntimeVisibleParameterAnnotationsAttribute(
new RuntimeVisibleParameterAnnotationsAttribute(
constantAdder.addConstant(
clazz, runtimeVisibleParameterAnnotationsAttribute.u2attributeNameIndex),
0,
runtimeVisibleParameterAnnotationsAttribute.u1parametersCount,
new int[runtimeVisibleParameterAnnotationsAttribute.u1parametersCount],
parameterAnnotations);

Expand Down Expand Up @@ -538,7 +538,7 @@ public void visitRuntimeInvisibleParameterAnnotationsAttribute(
new RuntimeInvisibleParameterAnnotationsAttribute(
constantAdder.addConstant(
clazz, runtimeInvisibleParameterAnnotationsAttribute.u2attributeNameIndex),
0,
runtimeInvisibleParameterAnnotationsAttribute.u1parametersCount,
new int[runtimeInvisibleParameterAnnotationsAttribute.u1parametersCount],
parameterAnnotations);

Expand Down

0 comments on commit 234baf6

Please sign in to comment.