feat: update to jdk17 and javax migration to jakarta#15239
Open
CritasWang wants to merge 3 commits intomasterfrom
Open
feat: update to jdk17 and javax migration to jakarta#15239CritasWang wants to merge 3 commits intomasterfrom
CritasWang wants to merge 3 commits intomasterfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR updates the codebase to support JDK17 by migrating all relevant imports from javax to jakarta and updating the project version.
- Migrates servlet, JAX-RS, validation, and annotation imports from javax to jakarta.
- Updates the project version in the pyproject.toml file.
- Ensures consistency in configuration across core, confignode, and integration test modules.
Reviewed Changes
Copilot reviewed 195 out of 198 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/rest/filter/AuthorizationFilter.java | Migrates servlet and JAX-RS imports from javax to jakarta. |
| iotdb-core/datanode/src/main/java/org/apache/iotdb/db/protocol/rest/filter/ApiOriginFilter.java | Migrates servlet imports from javax to jakarta. |
| iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/PipeInsertionEvent.java | Updates validation constraint imports from javax to jakarta. |
| iotdb-core/datanode/src/main/java/org/apache/iotdb/db/audit/AuditLogger.java | Migrates validation annotations to jakarta and removes duplicate javax imports. |
| iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/schema/table/DeleteDevicesProcedure.java | Updates annotation imports from javax to jakarta. |
| iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/mnode/container/ConfigMNodeContainer.java | Replaces javax validation annotations with jakarta equivalents. |
| iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/schema/CNPhysicalPlanGenerator.java | Migrates annotation imports from javax to jakarta. |
| iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/schema/ClusterSchemaQuotaStatistics.java | Updates validation imports to jakarta. |
| iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/ProcedureManager.java | Replaces javax annotation imports with jakarta. |
| iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/response/cq/ShowCQResp.java | Updates validation constraint import from javax to jakarta. |
| iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/write/pipe/payload/PipeDeleteTimeSeriesPlan.java | Migrates nonnull annotation import to jakarta. |
| iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/write/pipe/payload/PipeDeleteLogicalViewPlan.java | Migrates nonnull annotation import to jakarta. |
| iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/write/pipe/payload/PipeDeleteDevicesPlan.java | Migrates nonnull annotation import to jakarta. |
| iotdb-core/ainode/pyproject.toml | Updates the project version to reflect recent development. |
| integration-test/src/main/java/org/apache/iotdb/it/env/cluster/node/AbstractNodeWrapper.java | Updates annotation for nullable from javax to jakarta. |
| integration-test/src/main/java/org/apache/iotdb/it/env/cluster/config/MppJVMConfig.java | Replaces javax nullable annotation with jakarta. |
| integration-test/src/main/java/org/apache/iotdb/it/env/cluster/config/MppBaseConfig.java | Migrates nullable and validation annotations from javax to jakarta. |
Files not reviewed (3)
- integration-test/pom.xml: Language not supported
- iotdb-core/confignode/pom.xml: Language not supported
- iotdb-core/datanode/pom.xml: Language not supported
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #15239 +/- ##
============================================
- Coverage 39.41% 39.39% -0.02%
Complexity 193 193
============================================
Files 4624 4624
Lines 297744 297787 +43
Branches 37166 37174 +8
============================================
- Hits 117356 117327 -29
- Misses 180388 180460 +72 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
HTHou
reviewed
Mar 31, 2025
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



No description provided.