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 https://bz.apache.org/bugzilla/show_bug.cgi?id=59909 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 anymore. 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 patterns. What do you think? Stefan [1] http://openjdk.java.net/jeps/252 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org