inponomarev commented on code in PR #1587:
URL: https://github.com/apache/commons-lang/pull/1587#discussion_r2731279926


##########
src/main/java/org/apache/commons/lang3/AnnotationUtils.java:
##########
@@ -220,7 +221,7 @@ && isValidAnnotationMemberType(m.getReturnType())) {
                 }
             }
         } catch (final ReflectiveOperationException ex) {
-            return false;
+            throw new IllegalStateException(ex);

Review Comment:
   fixed, thanks for spotting this -- now this branch is covered by a test



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to