Andrew Thomas created LANG-1669: ----------------------------------- Summary: Known Failure in Java 16 When Parsing sq_MK Locale Key: LANG-1669 URL: https://issues.apache.org/jira/browse/LANG-1669 Project: Commons Lang Issue Type: Bug Components: lang.time.* Affects Versions: 3.12.0 Environment: OpenJDK 16 Reporter: Andrew Thomas
There is a known issue that I do not see tracked already. In Java 16, there is a failure when parsing sq_MK locale. This is not an issue with Apache Commons-Lang, but an issue with the addition of day period support in OpenJDK version 16. This is resolved in JDK 17, but there are still build failures in JDK 16 due to this bug with OpenJDK. See [[JDK-8262108] SimpleDateFormat formatting broken for sq_MK Locale - Java Bug System|https://bugs-stage.openjdk.java.net/browse/JDK-8262108] and [8262108: SimpleDateFormat formatting broken for sq_MK Locale · openjdk/jdk@64e2130 (github.com)|https://github.com/openjdk/jdk/commit/64e21307] Since a backward compatibility fix may not resolve the test case issue (it is using SimpleDateFormat for validation, which is affected by the bug), there are two options. One is to skip that locale in the existing tests and explicitly write a test that validates the date as a hardcoded value. The other option is to ignore this failure for JDK 16 since it is not a failure with commons-lang. -- This message was sent by Atlassian Jira (v8.3.4#803005)