Skip to content

Commit

Permalink
1.6.36
Browse files Browse the repository at this point in the history
  • Loading branch information
noear committed Apr 3, 2022
1 parent 2b2bb23 commit 8c6bd3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ protected FieldWrap(Class<?> clz, Field f1, boolean isFinal) {
annoS = f1.getDeclaredAnnotations();
readonly = isFinal;

field.setAccessible(true);

Type tmp = f1.getGenericType();
if (tmp instanceof TypeVariable) {
Expand Down Expand Up @@ -102,7 +103,6 @@ protected FieldWrap(Class<?> clz, Field f1, boolean isFinal) {
}
}

field.setAccessible(true);
_setter = doFindSetter(clz, f1);
_getter = dofindGetter(clz, f1);
}
Expand Down

0 comments on commit 8c6bd3c

Please sign in to comment.