-
Notifications
You must be signed in to change notification settings - Fork 156
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
feat: Add multi java lts support. #1054
Conversation
docs/src/main/java-jdk21/docs/actors/classical/OptimizedActorWithJava21.java
Outdated
Show resolved
Hide resolved
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the file should be left in java-jdk-21 to match the existing dir names, like java-jdk-9
@pjfanning I think it should be fine now |
case Msg1 msg1 -> receiveMsg1(msg1); | ||
case Msg2 msg2 -> receiveMsg2(msg2); | ||
case Msg3 msg3 -> receiveMsg3(msg3); | ||
default -> unhandled(msg); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now catch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Brilliant works, thanks. Leave some picky suggestion.
@pjfanning , @Roiocam ping with additional simplification from @Roiocam :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @He-Pin , It's great and useful, we could support more JDK feature now.
@pjfanning ping for another round of review, I think this is done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Motivation:
Add support to test JDK 11, JDK 17, and JDK 21 related code and just add the code when the runtime version matches.
This will help us to detect LTS version-related issues at the nightly build.
With JDK 21:
With JDK 11:
@Roiocam ping for a review too