terrymanu commented on issue #37884:
URL:
https://github.com/apache/shardingsphere/issues/37884#issuecomment-3817091329
Yes, you can compile with JDK 21 and still support JDK 8 runtime, as long as:
- Core/published modules keep maven.compiler.release=8 (or equivalent).
- Runtime dependencies of those published artifacts remain Java
8–compatible; do not upgrade to Java 17/21–only libs (e.g., Hive 4.2.0) unless
you explicitly accept raising the runtime baseline or isolate them away from
core runtime consumers.
Action for maintainers: When raising the compile baseline, audit dependency
closures to ensure no Java 17/21–only runtime jars leak into
shardingsphere-jdbc or Proxy distributions unless the project is ready to raise
the runtime baseline.
--
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]