ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: Early Access builds of JDK 8u112 b03, JDK 9 b128 are available on java.net
Date Thu, 28 Jul 2016 10:21:45 GMT
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-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message