You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Paulex Yang (JIRA)" <ji...@apache.org> on 2006/03/21 11:36:16 UTC
[jira] Updated: (HARMONY-209) java.text.SimpleDateFormat.equals()
behavior is not compatible with RI
[ http://issues.apache.org/jira/browse/HARMONY-209?page=all ]
Paulex Yang updated HARMONY-209:
--------------------------------
Attachment: JIRA209.patch
The fix and enforced test has been attached. pls. help to apply. thx a lot.
> 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
> 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