zemiles commented on PR #1810:
URL: https://github.com/apache/commons-lang/pull/1810#issuecomment-6049551729

   Thanks for catching this, and sorry for missing validation on older JDKs.
   
   The failing assertion called the annotation proxy's native equals(), causing 
AnnotationFormatError on Java 8 and 11 before reaching 
AnnotationUtils.equals(). I've removed that assertion while retaining the 
distinct-instance check and the regression assertion.
   
   The default Maven build with -Ddoclint=all now passes locally on Windows 
with Java 8, 11, 17, 21, 25, and 27. I also confirmed that the retained 
regression test still fails against the original implementation.


-- 
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