On 2016-07-27, Stefan Bodewig wrote:

> I will create a bug ticket for the datetime parsing problem once/if I
> manage to create a stand-alone test case.

It seems somebody else has already done:

http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8152154

it has been closed as "not an issue" because I could get back to Java8
behavior by setting a system property.

If I understand this correctly the switch to CLDR has the potential to
break the assumptions about the patterns used by DateFormat.SHORT and
friends - if so I'd ask you to mark this change more prominently as one
with the potential to break existing code.

Our test that rely on the default patterns can be fixed by specifying
the patterns explicitly, and we should update our manual page and
recommend using the pattern attributes explicitly if you want the build
to be consistent between Java versions.

https://bz.apache.org/bugzilla/show_bug.cgi?id=59909

I'm talking about build files with something like

    <touch file="touchtest" datetime="06/24/2003 2:20 pm"/>
    
which works fine on JDK<9 and will break (unless you set
java.locale.providers) on JDK9.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to