harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Avtamonov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-209) java.text.SimpleDateFormat.equals() behavior is not compatible with RI
Date Fri, 17 Mar 2006 13:30:58 GMT
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

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:
For more information on JIRA, see:

View raw message