Skip to content

Commit

Permalink
Fallback to incompatible type value.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Apr 28, 2020
1 parent c0f383c commit 1fddd12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6199,7 +6199,7 @@ protected AnnotationValue<Object[], Object[]> doResolve() {
} else if (resolution.resolve().represents(String.class)) {
return new AnnotationValue.ForDescriptionArray<Object, Object>(String.class, resolution.resolve(), values);
} else {
throw new IllegalStateException("Unexpected complex component type: " + resolution.resolve());
return new ForIncompatibleType<Object[], Object[]>(resolution.resolve());
}
}
}
Expand Down

0 comments on commit 1fddd12

Please sign in to comment.