Skip to content

Commit

Permalink
Better log message
Browse files Browse the repository at this point in the history
  • Loading branch information
timja committed Dec 15, 2020
1 parent 1368833 commit 858034b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/kohsuke/stapler/lang/FieldRef.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public Object get(Object instance) throws IllegalAccessException {
try {
return f.get(instance);
} catch (IllegalAccessException e) {
LOGGER.warning(e.getClass().getName() + ": Please report to the respective component:\n " + e.getMessage());
LOGGER.warning(e.getClass().getName() + ": Processing this request relies on deprecated behavior that will be disallowed in future releases of Java. See https://jenkins.io/redirect/stapler-reflective-access/ for more information. Details: " + e.getMessage());
f.setAccessible(true);
return f.get(instance);
}
Expand Down

0 comments on commit 858034b

Please sign in to comment.