[Backport] [2.x] Update bundled JDK to JDK-21.0.1 (#10576)#11003
[Backport] [2.x] Update bundled JDK to JDK-21.0.1 (#10576)#11003reta merged 4 commits intoopensearch-project:2.xfrom
Conversation
Gradle Check (Jenkins) Run Completed with:
|
9423fe1 to
3d7aa59
Compare
Gradle Check (Jenkins) Run Completed with:
|
Compatibility status:Checks if related components are compatible with change cef267e Incompatible componentsIncompatible components: [https://github.com/opensearch-project/performance-analyzer.git] Skipped componentsCompatible componentsCompatible components: [https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/reporting.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/neural-search.git] |
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## 2.x #11003 +/- ##
=========================================
Coverage 70.90% 70.90%
- Complexity 58928 58957 +29
=========================================
Files 4862 4862
Lines 278394 278401 +7
Branches 40810 40812 +2
=========================================
+ Hits 197396 197408 +12
- Misses 64189 64280 +91
+ Partials 16809 16713 -96
|
|
I don't know what the implications of this change are. |
At a high level, this might cause Gradle compatibility issues across multiple repos so we need to start a campaign soon. |
Thanks @bbarani, for Gradle specifically - no issues and no changes, this is only runtime change (which is as important as Gradle): we would need to make sure that all plugins work under JDK-21 as a runtime.
Thanks @dblock , explained above |
Sure, but this change needs awareness and alignment that it is OK to target 2.12 |
Signed-off-by: Andriy Redko <andriy.redko@aiven.io> (cherry picked from commit 0d7d1e9) Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
…rch-project#5279) This switch is removed in JDK version 17. https://openjdk.org/jeps/403 Signed-off-by: Rabi Panda <adnapibar@gmail.com>
…nsearch-project#5205) Signed-off-by: Rabi Panda <adnapibar@gmail.com>
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
fa560e8 to
cef267e
Compare
Gradle Check (Jenkins) Run Completed with:
|
|
Seeing no objections, merging JDK-21 into 2.x branch |
Backport of #10576 to
2.x