You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Anton Avtamonov (JIRA)" <ji...@apache.org> on 2006/03/17 14:30:58 UTC
[jira] Created: (HARMONY-209) java.text.SimpleDateFormat.equals()
behavior is not compatible with RI
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:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (HARMONY-209) java.text.SimpleDateFormat.equals()
behavior is not compatible with RI
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-209?page=all ]
Tim Ellison closed HARMONY-209:
-------------------------------
Verified by Anton.
> 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
[jira] Assigned: (HARMONY-209) java.text.SimpleDateFormat.equals()
behavior is not compatible with RI
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-209?page=all ]
Tim Ellison reassigned HARMONY-209:
-----------------------------------
Assign To: Tim Ellison
> 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
[jira] Updated: (HARMONY-209) java.text.SimpleDateFormat.equals()
behavior is not compatible with RI
Posted by "Paulex Yang (JIRA)" <ji...@apache.org>.
[ 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
[jira] Commented: (HARMONY-209) java.text.SimpleDateFormat.equals()
behavior is not compatible with RI
Posted by "Anton Avtamonov (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/HARMONY-209?page=comments#action_12372676 ]
Anton Avtamonov commented on HARMONY-209:
-----------------------------------------
Yes, it works now. Thank you, Paulex.
Tim, could you please close the issue?
> 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
[jira] Resolved: (HARMONY-209) java.text.SimpleDateFormat.equals()
behavior is not compatible with RI
Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
[ 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