This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new 261806976 Skip Chuvash locale parser tests on Java 27 (#1746)
261806976 is described below
commit 2618069761868edb2ca03d4b930b3ccc2b42a9cd
Author: Sarankumar Baskar <[email protected]>
AuthorDate: Mon Jul 13 21:26:48 2026 +0530
Skip Chuvash locale parser tests on Java 27 (#1746)
Extend the existing Java 26 cv locale assumptions to Java 27-ea, where the
same FastDateParser locale failures occur.
Co-authored-by: Sarankumar Baskar <[email protected]>
---
src/test/java/org/apache/commons/lang3/LocaleProblems.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/test/java/org/apache/commons/lang3/LocaleProblems.java
b/src/test/java/org/apache/commons/lang3/LocaleProblems.java
index 1c73211f5..a6617e65b 100644
--- a/src/test/java/org/apache/commons/lang3/LocaleProblems.java
+++ b/src/test/java/org/apache/commons/lang3/LocaleProblems.java
@@ -38,6 +38,7 @@ public class LocaleProblems {
// "cv_RU" is a problem on Java version: 26-beta, vendor: Eclipse
Adoptium, runtime:
/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/26.0.0-ea.27.0.ea/x64
// Same for "cv"
UNSUPPORTED_CAT_A.put(JavaVersion.JAVA_26, Arrays.asList("cv",
"cv_RU"));
+ UNSUPPORTED_CAT_A.put(JavaVersion.JAVA_27, Arrays.asList("cv",
"cv_RU"));
}
// needs a better name.
@@ -46,6 +47,7 @@ public class LocaleProblems {
UNSUPPORTED_CAT_B = new HashMap<>();
// "cv_RU_#Cyrl" is a problem on Java version: 26-beta, vendor:
Eclipse Adoptium, runtime:
/opt/hostedtoolcache/Java_Temurin-Hotspot_jdk/26.0.0-ea.27.0.ea/x64
UNSUPPORTED_CAT_B.put(JavaVersion.JAVA_26, Arrays.asList("cv",
"cv_RU", "cv_RU_#Cyrl"));
+ UNSUPPORTED_CAT_B.put(JavaVersion.JAVA_27, Arrays.asList("cv",
"cv_RU", "cv_RU_#Cyrl"));
}
private static void assumeLocaleSupported(final Locale locale, final
Map<JavaVersion, List<String>> unsupportedCatA, final ParseException e) {