jdaugherty commented on PR #2228: URL: https://github.com/apache/groovy/pull/2228#issuecomment-2889112482
I wasn't sure if it would be preferred to use JavaParser's enum or create one. When I went to update the Ant task, I realized the JavaParser wasn't on the classpath so I created [one](https://github.com/apache/groovy/blob/8b2bf34425b9b8fc4fef34b48412d7a92432d4ee/subprojects/groovy-groovydoc/src/main/java/org/codehaus/groovy/tools/groovydoc/JavaLanguageLevel.java). The downside is the enum will have to be updated over time - and I excluded preview versions. I also noticed that the version of JavaParser in the groovy 4 branch only parses up to Java 21. If someone has a strong opinion on a solution here, I'm happy to update. -- 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: notifications-unsubscr...@groovy.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org