Skip to content

chore: bump minimum Java version from 11 to 17#1721

Merged
dapr-bot merged 2 commits intodapr:masterfrom
javier-aliaga:chore/bump-java-17
Apr 9, 2026
Merged

chore: bump minimum Java version from 11 to 17#1721
dapr-bot merged 2 commits intodapr:masterfrom
javier-aliaga:chore/bump-java-17

Conversation

@javier-aliaga
Copy link
Copy Markdown
Contributor

@javier-aliaga javier-aliaga commented Apr 9, 2026

Description

  • Bump minimum Java compatibility from 11 to 17 across all modules
  • Update maven.compiler.source, target, and release in root pom.xml and dapr-spring/pom.xml
  • Update all 19 example READMEs to reference JDK 17 download links

Changes

Build configuration

  • pom.xml — compiler source/target/release 1117
  • dapr-spring/pom.xml — compiler source/target/release 1117

Documentation

  • 19 example README.md files — JDK prerequisite updated from 11 to 17 (Microsoft, Oracle, OpenJDK links)

Test plan

  • Verify mvn compile succeeds with JDK 17+
  • Verify mvn test passes
  • Confirm no remaining references to JDK 11 in pom.xml or README files

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #1694

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

Update maven.compiler.source, target, and release from 11 to 17 in
root pom.xml and dapr-spring/pom.xml. Update all example README
prerequisites to reference JDK 17 download links.

Signed-off-by: Javier Aliaga <javier@diagrid.io>
@javier-aliaga javier-aliaga marked this pull request as ready for review April 9, 2026 13:03
@javier-aliaga javier-aliaga requested review from a team as code owners April 9, 2026 13:03
@javier-aliaga javier-aliaga added this to the v1.18 milestone Apr 9, 2026
@dapr-bot dapr-bot merged commit 2206d1b into dapr:master Apr 9, 2026
12 checks passed
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.91%. Comparing base (aa296fa) to head (430ee60).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1721      +/-   ##
============================================
+ Coverage     72.90%   72.91%   +0.01%     
+ Complexity     2257     2256       -1     
============================================
  Files           242      242              
  Lines          7415     7415              
  Branches        738      738              
============================================
+ Hits           5406     5407       +1     
+ Misses         1648     1646       -2     
- Partials        361      362       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use Java source code 17 for Dapr Java SDK 1.18

3 participants