[ 
https://issues.apache.org/jira/browse/CXF-9054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andriy Redko resolved CXF-9054.
-------------------------------
    Fix Version/s: 4.2.1
       Resolution: Fixed

> LocalDate before April 1893 incorrectly parsed
> ----------------------------------------------
>
>                 Key: CXF-9054
>                 URL: https://issues.apache.org/jira/browse/CXF-9054
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 4.0.5
>            Reporter: Andrei Bastun
>            Priority: Major
>             Fix For: 4.2.1
>
>
> In Swedish timezone the LocalDate parsed from strings <= 1893-04-01 by 
> AbstractSearchConditionParser differs about 7 minutes from the expected value 
> -
> {code:java}
> convertToDefaultDate("1893-04-01").toInstant().atZone(ZoneId.systemDefault()) 
> -> 1893-03-31T23:53:28+00:53:28[Europe/Stockholm] 
> {code}
>  
> It works on JDK 17.0.4,  but fails since JDK 17.0.5 because there was 
> timezone update
> [https://bugs.openjdk.org/browse/JDK-8294357] 
>  
> I'm not sure if it is JDK bug, or JDK fix that accounted for some 7 min 
> calendar adjustment. (leap seconds?)
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to