gnodet commented on PR #1144:
URL: 
https://github.com/apache/maven-compiler-plugin/pull/1144#issuecomment-5891994883

   Commit 950b860 addresses both issues from the latest review:
   
   1. **pom.xml** — Moved `compile-java24` execution into a `java24+` 
activation profile (`<jdk>[24,)</jdk>`). On JDK 17/21, the execution is skipped 
and only ASM is used. On JDK 24+, `ClassfileClassAnalyzer` is compiled and 
selected at runtime.
   
   2. **BytecodeAnalyzerTest** — Added `@EnabledForJreRange(min = JAVA_24)` and 
switched to reflective instantiation (same pattern as 
`BytecodeAnalyzer.selectAnalyzer()`) to avoid a compile-time dependency on the 
JDK 24+-only class.


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