Skip to content
This repository has been archived by the owner on Feb 7, 2025. It is now read-only.

Revert to Java 17 #590

Merged
merged 3 commits into from
Oct 20, 2023
Merged

Revert to Java 17 #590

merged 3 commits into from
Oct 20, 2023

Conversation

halprin
Copy link
Contributor

@halprin halprin commented Oct 19, 2023

Revert to Java 17

Our Staging and Internal environment are failing to handle much of any traffic (it seems to have crashed again since the afternoon). Dev seems unaffected. This seems to originate from Javalin not supporting Loom (virtual threads) fully yet. Dev was on an older commit before Java 21 was being used.

We upgraded to Java 21 earlier this week, and it introduces Loom. Javalin was configured to use these types of threads by default, but Javalin doesn't seem to fully work with them just yet. See javalin/javalin#2011 and javalin/javalin#1778. Javalin, in fact, plans to not use Loom by default in a future release.

I also updated Renovate to stay within Java 17.

Issue

None.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@jcrichlake jcrichlake merged commit 2fdd52a into main Oct 20, 2023
@jcrichlake jcrichlake deleted the revert-java-21 branch October 20, 2023 13:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants