Skip to content

Comments

chore: Upgrade to Java 21#1101

Draft
jorgeazevedo wants to merge 7 commits intomainfrom
ja-java-upgrade
Draft

chore: Upgrade to Java 21#1101
jorgeazevedo wants to merge 7 commits intomainfrom
ja-java-upgrade

Conversation

@jorgeazevedo
Copy link
Contributor

What does this change?

Upgrades Java runtime from 11 to 21.

How has this change been tested?

  • Local build: sbt clean compile test
  • CDK tests: cd cdk && npm test

Have we considered potential risks?

  • Runtime behavior changes between Java 11 and 21 (tested via test suite)
  • AWS Lambda runtime compatibility (verified)

@jorgeazevedo jorgeazevedo added the maintenance Departmental tracking: maintenance work, not a fix or a feature label Feb 13, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades the Prism application runtime from Java 11 to Java 21, updating infrastructure configuration, simplifying classpath resource handling, and updating version management files.

Changes:

  • Upgraded EC2 deployment infrastructure from Ubuntu 20.04 Focal with Java 11 to Ubuntu 22.04 Jammy with Java 21
  • Simplified classpath resource loading by removing custom URLStreamHandler implementation
  • Updated version management configuration to use Java 21 (Corretto)

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
cdk/lib/prism.ts Updated imageRecipe to use arm64-jammy-java21-deploy-infrastructure for EC2 instances
app/agent/origin.scala Simplified classpath resource loading by removing custom URLStreamHandler and using getClass.getResource() directly; removed unused imports
README.md Updated documentation to specify Java 21 requirement
.tool-versions Updated Java version from corretto-11.0.25.9.1 to corretto-21
.java-version Removed file (redundant with .tool-versions which is the primary asdf configuration)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

maintenance Departmental tracking: maintenance work, not a fix or a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant