Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
org.apache.commons.lang3.builder.ReflectionToStringBuilder#appendFieldsIn uses following method
AccessibleObject.setAccessible(fields, true);
It will throw exception when it is not possible to perform action. I think, better approach - just to skip not accessible fields and report only accessible once. Since Java 9 there is a method trySetAccessible for that.
Attachments
Issue Links
- links to