ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject JDK9 DateFormat changes
Date Thu, 28 Jul 2016 15:44:41 GMT
Hi all

with JDK9 switching to the "CLDR" locale provider by default[1] the
format of DateFormat.SHORT has changed - which causes <touch> to use a
different default pattern when run on JDK9.

I've opened for
this, but after reading touch's manual page again I'm not sure "document
the default pattern depends on the version of Java" is a good idea

The text for the pattern attribute says "Defaults to MM/DD/YYYY HH:MM
AM_or_PM or MM/DD/YYYY HH:MM:SS AM_or_PM" - which indicates we should be
using a (thread-local) SimpleDateFormat rather than rely on the standard

What do you think?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message