Siman-hub commented on PR #13671: URL: https://github.com/apache/skywalking/pull/13671#issuecomment-3789072312
The E2E Java services fail to compile on JDK 25 due to Lombok ≤ 1.18.36 relying on removed javac internals (com.sun.tools.javac.code.TypeTag), which triggers ExceptionInInitializerError during annotation processing. To address this without impacting LTS JDKs, I added a JDK-25-only Maven profile that: 1. Runs delombok (using Lombok 1.18.40) to generate plain Java sources compatible with JDK 25. 2. Switches compilation to the generated sources to avoid duplicate classes. 3. Disables annotation processing (-proc:none) during compilation to bypass the crash. 4. Skips Checkstyle on the generated sources (as they do not match project style standards). 5. Keeps existing behavior unchanged for JDK 8 / 11 / 17 / 21. This keeps the E2E services buildable on JDK 25 while preserving the standard build process for all supported LTS versions. -- 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]
