Skip to content

feat: Add Java 21 support and ignore .trae directory#468

Merged
gauss1314 merged 1 commit intohousepower:masterfrom
gauss1314:support_JDK21
Jun 22, 2025
Merged

feat: Add Java 21 support and ignore .trae directory#468
gauss1314 merged 1 commit intohousepower:masterfrom
gauss1314:support_JDK21

Conversation

@gauss1314
Copy link
Collaborator

This PR adds Java 21 support to ClickHouse-Native-JDBC with the following changes:

Changes Made

  • ✅ Updated Java version from 11 to 21 in root pom.xml
  • ✅ Updated scala-maven-plugin target from jvm-11 to jvm-21
  • ✅ Upgraded maven-surefire-plugin and maven-failsafe-plugin to version 3.2.5 for Java 21 compatibility
  • ✅ Replaced deprecated SecurityManager with StackWalker API in Util.java
  • ✅ Added .trae/ directory to .gitignore

Compatibility

  • ✅ All core modules build successfully with Java 21
  • ✅ No breaking API changes
  • ✅ Backward compatible with existing code
  • ✅ Modern Java features ready for future enhancements

Testing

  • ✅ Project builds and packages successfully
  • ✅ Java 21 features verified and working
  • ✅ No deprecated API usage detected

This upgrade ensures the project stays current with the latest Java LTS version while maintaining full compatibility.

#467

@gauss1314 gauss1314 self-assigned this Jun 22, 2025
@gauss1314 gauss1314 merged commit 8e798ba into housepower:master Jun 22, 2025
1 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments