harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Ellison (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-209) java.text.SimpleDateFormat.equals() behavior is not compatible with RI
Date Tue, 28 Mar 2006 10:58:35 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-209?page=all ]
     
Tim Ellison resolved HARMONY-209:
---------------------------------

    Resolution: Fixed

Thanks for the patch Paulex,

Fix applied to TEXT module java.text.SimpleDateFormat at repo revision 389475.

Anton: please check that this fully resolves your problem.


> java.text.SimpleDateFormat.equals() behavior is not compatible with RI
> ----------------------------------------------------------------------
>
>          Key: HARMONY-209
>          URL: http://issues.apache.org/jira/browse/HARMONY-209
>      Project: Harmony
>         Type: Bug
>   Components: Classlib
>  Environment: J9 VM + Harmony
>     Reporter: Anton Avtamonov
>     Assignee: Tim Ellison
>     Priority: Minor
>  Attachments: JIRA209.patch
>
> Use the following test case:
> import java.text.SimpleDateFormat;
> import java.util.Date;
> import junit.framework.TestCase;
> public class SimpleDateFormatTest extends TestCase {
>     public void testFormat() {
>         SimpleDateFormat df = new SimpleDateFormat();
>         df.format(new Date());
>         assertEquals(df, new SimpleDateFormat());
>     }
> }
> This test passes on RI, however fails on Harmony.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message