>-----Original Message----- >From: Lukasz Lenart <lukaszlen...@apache.org> >Sent: Monday, November 12, 2018 12:44 PM >To: Struts Developers List <dev@struts.apache.org> >Subject: Re: Date format change > >Ok, found it >https://bugs.openjdk.java.net/browse/JDK-8206961 > >tldr; some date formats have changed since JDK9 as a result of using the >Unicode >Consortium's Common Locale Data Repository (CLDR) > >To persist an old behaviour, the following flag must be defined - >Djava.locale.providers=COMPAT, CLDR
I think we shouldn't force this flag in Struts builds, tests and releases as it's user decision to run Struts in which java version (and so what date format would like to type a date in UI). If an incompatible date format typed and posted to Struts, then it's OK for Struts to fail! We just need to update a unit test which I already have pull requested at [1]. Regards. [1] https://github.com/apache/struts/pull/262/files#diff-fb5059fc7e863b3fc70d933d7cbefad2R378