-
Notifications
You must be signed in to change notification settings - Fork 9
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
Update to jdk 21 #1932
Comments
Before this fix, we use lombok-maven-plugin version 1.18.20.0 which use lombok 1.18.20 which is not compatible with jdk21. This fix is a workaround waiting this pr to be merged : awhitford/lombok.maven#180 and a new artifact released Resolves Meeds-io/meeds#1932
Before this fix, the simpleDateFormat for locale en is MM/dd/yyyy, HH:mm:ss a In jdk17 and under, the space between 'ss' and 'a' is a simple space In JDK 21, the space was changed to '[NNBSP]a' ([OpenJDK information](https://bugs.openjdk.org/browse/JDK-8324665)) : , so the .contains(" a") returns always false This commit add the test on '[NNBSP]a' in addition of ' a' in order to make it work on both jdk version Resolves Meeds-io/meeds#1932
Before this fix, the simpleDateFormat for locale en is MM/dd/yyyy, HH:mm:ss a In jdk17 and under, the space between 'ss' and 'a' is a simple space In JDK 21, the space was changed to '[NNBSP]a' ([OpenJDK information](https://bugs.openjdk.org/browse/JDK-8324665)) : , so the .contains(" a") returns always false This commit add the test on '[NNBSP]a' in addition of ' a' in order to make it work on both jdk version It also add surefire configuration to work with jdk21 Resolves Meeds-io/meeds#1932
Adapt coverage ratio Resolves Meeds-io/meeds#1932
Hi @boubaker I prepare PR to jump to JDK 21. Once these PRs are merged, build will still work with JDK17. So, my proposition is :
|
Adapt coverage ratio Resolves Meeds-io/meeds#1932
Before this fix, the simpleDateFormat for locale en is MM/dd/yyyy, HH:mm:ss a In jdk17 and under, the space between 'ss' and 'a' is a simple space In JDK 21, the space was changed to '[NNBSP]a' ([OpenJDK information](https://bugs.openjdk.org/browse/JDK-8324665)) : , so the .contains(" a") returns always false This commit add the test on '[NNBSP]a' in addition of ' a' in order to make it work on both jdk version It also add surefire configuration to work with jdk21 Resolves Meeds-io/meeds#1932
Before this fix, we use lombok-maven-plugin version 1.18.20.0 which use lombok 1.18.20 which is not compatible with jdk21. This fix is a workaround waiting this pr to be merged : awhitford/lombok.maven#180 and a new artifact released Resolves Meeds-io/meeds#1932
Great move, thanks. @rdenarie there is already an MIP for this Meeds-io/MIPs#91 |
Besides, I think we should do a deep cleanup to delete the usage of Security Manager in Core Foundation projects, see https://nipafx.dev/road-to-21-upgrade/ for more information about changes to take care of. |
Close this issue as there is a MIP on it (Meeds-io/MIPs#91) |
JDK 21 is the last available LTS java version.
We should build and run on this version
The text was updated successfully, but these errors were encountered: