Samael Bate created BEANUTILS-571: ------------------------------------- Summary: Fix put in for JDK 21 builds relating to locale needs changing for recent JDK Key: BEANUTILS-571 URL: https://issues.apache.org/jira/browse/BEANUTILS-571 Project: Commons BeanUtils Issue Type: Bug Reporter: Samael Bate
8 months ago I raised [a PR to fix CI on modern JDKs|https://github.com/apache/commons-beanutils/pull/201] ([https://github.com/apache/commons-beanutils/commit/9dc4235bb0a47cb51d01c815a977f0228592f2f9]) see: https://issues.apache.org/jira/browse/BEANUTILS-564 The fix was to add {{-Djava.locale.providers=COMPAT}} to the surefire args so that tests that compare times could work. This was fine at the time as JDK 21 and 22 have that option: - [https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/spi/LocaleServiceProvider.html] - [https://docs.oracle.com/en/java/javase/22/docs/api/java.base/java/util/spi/LocaleServiceProvider.html] but in JDK 23 it's been removed: [https://docs.oracle.com/en/java/javase/23/docs/api/java.base/java/util/spi/LocaleServiceProvider.html] -- This message was sent by Atlassian Jira (v8.20.10#820010)