Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,13 @@ public boolean matches(final FieldWrapper field, final String name) {
protected Object invokeMember(final FieldWrapper field, final Object context) {
try {
return field.get(context);
} catch (IllegalAccessException ex) {
// Illegal access to field is expected for classes from external modules
return null;
} catch (Exception ex) {
throw new IllegalStateException(
"Shouldn't be illegal to access field '" + field.getName()
+ "'", ex);
"Shouldn't be illegal to access field '" + field.getName()
+ "'", ex);
}
}

Expand Down