efegokdemir opened a new pull request, #376:
URL: https://github.com/apache/maven-jxr/pull/376

   ## Summary
   
   Fixes #296 by keeping top-level annotation array initializers from 
terminating the parser before subsequent classes are discovered.
   
   ## Changes
   
   - Treat closing braces from top-level annotation initializers as unrelated 
to recursive class parsing.
   - Add a regression fixture with an annotation array followed by another 
top-level class.
   - Add a focused parser regression test.
   
   ## Testing
   
   - `JAVA_HOME=/opt/homebrew/opt/openjdk@21 mvn -pl maven-jxr 
-Dtest=JavaFileImplTest test`
   - `JAVA_HOME=/opt/homebrew/opt/openjdk@21 mvn -pl maven-jxr verify`
   - `git diff --check`
   
   All passed. The module verify run completed 17 tests successfully.
   
   ## Notes
   
   - I checked the open issue and searched open pull requests for issue #296 
and the annotation-braces keywords; no overlapping PR was found before 
submission.
   - AI assistance was used to help investigate and implement this change. The 
submitted changes and validation were reviewed manually.


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