There needs to be support for java.time in java.text.MessageFormat
xueming.shen at oracle.com
Mon Dec 2 21:11:55 UTC 2013
On 12/02/2013 12:46 PM, Stephen Colebourne wrote:
> On 2 December 2013 19:47, Xueming Shen<xueming.shen at oracle.com> wrote:
>> That said, it might be desired to add the support of the JSR310 date/time
>> for the DateFormat, but it will not make jdk8.
> FWIW, I think this should have been fixed in jdk 8.
> Does the spec allow it to be fixed in a jdk 8 update release?
DateFormat.format(Object obj, ...) has the "obj" specified as "must be a Number or a Date".
So it's going to be a spec change. Though it probably is not going to break any existing code
except the tck.
More information about the core-libs-dev