[
https://issues.apache.org/jira/browse/LANG-1669?focusedWorklogId=639694&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-639694
]
ASF GitHub Bot logged work on LANG-1669:
----------------------------------------
Author: ASF GitHub Bot
Created on: 19/Aug/21 04:42
Start Date: 19/Aug/21 04:42
Worklog Time Spent: 10m
Work Description: greatmastermario opened a new pull request #791:
URL: https://github.com/apache/commons-lang/pull/791
Fixed issue with parsing certain locales using day periods introduced in
OpenJDK 16 and later resolved in OpenJDK 17
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 639694)
Remaining Estimate: 0h
Time Spent: 10m
> 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
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)