Skip to content

Commit

Permalink
Merge pull request #200 from timja/better-log
Browse files Browse the repository at this point in the history
Better log message
  • Loading branch information
jglick authored Dec 22, 2020
2 parents 1368833 + 858034b commit 84991e4
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 84991e4

Please sign in to comment.