Hi,

I have found the following unit test passes with JDK 1.5, but fails with 
64-bit Sun JDK 1.6 (1.6.0.16).

I've tested this with joda-time-1.4.jar and joda-time-1.6.jar.

Can anyone else confirm the bug, and/or is there a workaround?

Thanks,
Dan Rollo


     public void testJodaDateTimeFormatter64bitJDK6() throws Exception {
         final DateTime dateTime = DateTimeFormat.forPattern(
                 "yyyyMMddHHmmss"
         ).parseDateTime("20001212050505");

         assertEquals("This joda time conversion fails under 64-bit JDK 
6 (1.6.0.16), and maybe others?",
                 976615505000L, dateTime.getMillis());
     }



------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Joda-interest mailing list
Joda-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/joda-interest

Reply via email to