Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable building & testing with Java 21 #80

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

cljohnso
Copy link
Contributor

This commit introduces Java 21 into the build/test matrix and changes code to avoid compilation faults arising from Java 17+ changes.

/**
* Handles using the JVM-appropriate method to obtain the id for a {@code Thread}.
*/
private static class ThreadId {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I could see moving this nested class elsewhere to make available to non-test code.

Copy link

github-actions bot commented Feb 20, 2024

Tests Results

     880 files  +   225       880 suites  +225   9m 21s ⏱️ + 2m 8s
     647 tests +       1       630 ✔️ +       1    17 💤 ±    0  0 ±0 
13 320 runs  +3 380  12 620 ✔️ +3 205  700 💤 +175  0 ±0 

Results for commit bdd96d4. ± Comparison against base commit 08d6f4d.

♻️ This comment has been updated with latest results.

This commit introduces Java 21 into the build/test matrix and  changes
code to avoid compilation faults arising from Java 17+ changes.
@chrisdennis chrisdennis merged commit 273eab0 into Terracotta-OSS:master Feb 22, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants