Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Update to jdk21 - EXO-71474 - Meeds-io/MIPs#91
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/MIPs#91
- Loading branch information