commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Schaible <>
Subject Re: [lang] RC4 heads up
Date Tue, 12 Jul 2011 17:56:53 GMT
Hi Hen,

Henri Yandell wrote:

> Heads up that I plan to tag and build an RC4 tomorrow.
> Commit now, or raise your hand if you need me to delay.

I have a look into the two JDK 7 problems. What do you all recommend?

1/ FastDateFormat
The date format "yyyy yyy yy y" is formatted with JDK 7 as "2003 2003 03 
2003" instead of "2003 03 03 03". So, should FastDateFormat follow the JDK 
in any case and adjust its result according the runtime? Interestingly 
Javadoc states already for Java 6: "For formatting, if the number of pattern 
letters is 2, the year is truncated to 2 digits; otherwise it is interpreted 
as a number."

2/ UnicodeUnescaper
Since JDK 1.7 "\u+0000" is a valid Unicode representation. The 
UnicodeUnescaper defines the OPTION "escapePlus" that allows also this plus 
character for all runtime versions i.e. currently the OPTION is superfluous 
in JDK 7. Should this option mean now, that the plus sing is only valid if 
the OPTION is set or that it depends on the runtime in the other case?

- Jörg

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

View raw message