You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Leo Li (JIRA)" <ji...@apache.org> on 2007/04/27 08:59:15 UTC

[jira] Created: (HARMONY-3782) [classlib][beans]java.beans.DefaultPersistenceDelegate.mutates should delegate the comparation to super class if the number of arguments in the specified constructor is zero or the class of oldInstance does not explicitly declare an "equals" method.

[classlib][beans]java.beans.DefaultPersistenceDelegate.mutates should delegate the comparation to super class if the number of arguments in the specified constructor is zero or the class of oldInstance does not explicitly declare an "equals" method.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: HARMONY-3782
                 URL: https://issues.apache.org/jira/browse/HARMONY-3782
             Project: Harmony
          Issue Type: Bug
            Reporter: Leo Li


Here is a testcase:
public class MyDefaultPersistenceDelegate extends DefaultPersistenceDelegate
    {
        public boolean mutatesTo(Object oldInstance, Object newInstance)
        {
            return super.mutatesTo(oldInstance, newInstance);
        }
    }

public void test_mutates_with_no_equals()
    {
        Object o1 = new Object();
        Object o2 = new Object();
        
        MyDefaultPersistenceDelegate myDefaultPersistenceDelegate = new MyDefaultPersistenceDelegate();
        assertTrue(myDefaultPersistenceDelegate.mutatesTo(o1, o2));       
    }

RI passes.
Harmony fails.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HARMONY-3782) [classlib][beans]java.beans.DefaultPersistenceDelegate.mutates should delegate the comparation to super class if the number of arguments in the specified constructor is zero or the class of oldInstance does not explicitly declare an "equals" method.

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison resolved HARMONY-3782.
----------------------------------

    Resolution: Fixed

Thanks Leo

Patch applied to BEANS module at repo revision r534000.

Please check that it was applied as you expected.


> [classlib][beans]java.beans.DefaultPersistenceDelegate.mutates should delegate the comparation to super class if the number of arguments in the specified constructor is zero or the class of oldInstance does not explicitly declare an "equals" method.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3782
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3782
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Tim Ellison
>         Attachments: patch-3782.diff
>
>
> Here is a testcase:
> public class MyDefaultPersistenceDelegate extends DefaultPersistenceDelegate
>     {
>         public boolean mutatesTo(Object oldInstance, Object newInstance)
>         {
>             return super.mutatesTo(oldInstance, newInstance);
>         }
>     }
> public void test_mutates_with_no_equals()
>     {
>         Object o1 = new Object();
>         Object o2 = new Object();
>         
>         MyDefaultPersistenceDelegate myDefaultPersistenceDelegate = new MyDefaultPersistenceDelegate();
>         assertTrue(myDefaultPersistenceDelegate.mutatesTo(o1, o2));       
>     }
> RI passes.
> Harmony fails.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3782) [classlib][beans]java.beans.DefaultPersistenceDelegate.mutates should delegate the comparation to super class if the number of arguments in the specified constructor is zero or the class of oldInstance does not explicitly declare an "equals" method.

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leo Li updated HARMONY-3782:
----------------------------

    Attachment: patch-3782.diff

Hi, all:
    Will somebody try the patch?

Thanks,
Leo.

> [classlib][beans]java.beans.DefaultPersistenceDelegate.mutates should delegate the comparation to super class if the number of arguments in the specified constructor is zero or the class of oldInstance does not explicitly declare an "equals" method.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3782
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3782
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>         Attachments: patch-3782.diff
>
>
> Here is a testcase:
> public class MyDefaultPersistenceDelegate extends DefaultPersistenceDelegate
>     {
>         public boolean mutatesTo(Object oldInstance, Object newInstance)
>         {
>             return super.mutatesTo(oldInstance, newInstance);
>         }
>     }
> public void test_mutates_with_no_equals()
>     {
>         Object o1 = new Object();
>         Object o2 = new Object();
>         
>         MyDefaultPersistenceDelegate myDefaultPersistenceDelegate = new MyDefaultPersistenceDelegate();
>         assertTrue(myDefaultPersistenceDelegate.mutatesTo(o1, o2));       
>     }
> RI passes.
> Harmony fails.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HARMONY-3782) [classlib][beans]java.beans.DefaultPersistenceDelegate.mutates should delegate the comparation to super class if the number of arguments in the specified constructor is zero or the class of oldInstance does not explicitly declare an "equals" method.

Posted by "Tim Ellison (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Ellison reassigned HARMONY-3782:
------------------------------------

    Assignee: Tim Ellison

> [classlib][beans]java.beans.DefaultPersistenceDelegate.mutates should delegate the comparation to super class if the number of arguments in the specified constructor is zero or the class of oldInstance does not explicitly declare an "equals" method.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3782
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3782
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Tim Ellison
>         Attachments: patch-3782.diff
>
>
> Here is a testcase:
> public class MyDefaultPersistenceDelegate extends DefaultPersistenceDelegate
>     {
>         public boolean mutatesTo(Object oldInstance, Object newInstance)
>         {
>             return super.mutatesTo(oldInstance, newInstance);
>         }
>     }
> public void test_mutates_with_no_equals()
>     {
>         Object o1 = new Object();
>         Object o2 = new Object();
>         
>         MyDefaultPersistenceDelegate myDefaultPersistenceDelegate = new MyDefaultPersistenceDelegate();
>         assertTrue(myDefaultPersistenceDelegate.mutatesTo(o1, o2));       
>     }
> RI passes.
> Harmony fails.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3782) [classlib][beans]java.beans.DefaultPersistenceDelegate.mutates should delegate the comparation to super class if the number of arguments in the specified constructor is zero or the class of oldInstance does not explicitly declare an "equals" method.

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leo Li updated HARMONY-3782:
----------------------------

    Patch Info: [Patch Available]

> [classlib][beans]java.beans.DefaultPersistenceDelegate.mutates should delegate the comparation to super class if the number of arguments in the specified constructor is zero or the class of oldInstance does not explicitly declare an "equals" method.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3782
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3782
>             Project: Harmony
>          Issue Type: Bug
>            Reporter: Leo Li
>         Attachments: patch-3782.diff
>
>
> Here is a testcase:
> public class MyDefaultPersistenceDelegate extends DefaultPersistenceDelegate
>     {
>         public boolean mutatesTo(Object oldInstance, Object newInstance)
>         {
>             return super.mutatesTo(oldInstance, newInstance);
>         }
>     }
> public void test_mutates_with_no_equals()
>     {
>         Object o1 = new Object();
>         Object o2 = new Object();
>         
>         MyDefaultPersistenceDelegate myDefaultPersistenceDelegate = new MyDefaultPersistenceDelegate();
>         assertTrue(myDefaultPersistenceDelegate.mutatesTo(o1, o2));       
>     }
> RI passes.
> Harmony fails.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (HARMONY-3782) [classlib][beans]java.beans.DefaultPersistenceDelegate.mutates should delegate the comparation to super class if the number of arguments in the specified constructor is zero or the class of oldInstance does not explicitly declare an "equals" method.

Posted by "Leo Li (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leo Li closed HARMONY-3782.
---------------------------


Hi, Tim:
     Fixed,Thanks.
Leo.

> [classlib][beans]java.beans.DefaultPersistenceDelegate.mutates should delegate the comparation to super class if the number of arguments in the specified constructor is zero or the class of oldInstance does not explicitly declare an "equals" method.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3782
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3782
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Assigned To: Tim Ellison
>         Attachments: patch-3782.diff
>
>
> Here is a testcase:
> public class MyDefaultPersistenceDelegate extends DefaultPersistenceDelegate
>     {
>         public boolean mutatesTo(Object oldInstance, Object newInstance)
>         {
>             return super.mutatesTo(oldInstance, newInstance);
>         }
>     }
> public void test_mutates_with_no_equals()
>     {
>         Object o1 = new Object();
>         Object o2 = new Object();
>         
>         MyDefaultPersistenceDelegate myDefaultPersistenceDelegate = new MyDefaultPersistenceDelegate();
>         assertTrue(myDefaultPersistenceDelegate.mutatesTo(o1, o2));       
>     }
> RI passes.
> Harmony fails.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HARMONY-3782) [classlib][beans]java.beans.DefaultPersistenceDelegate.mutates should delegate the comparation to super class if the number of arguments in the specified constructor is zero or the class of oldInstance does not explicitly declare an "equals" method.

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov updated HARMONY-3782:
-------------------------------------

    Component/s: Classlib

> [classlib][beans]java.beans.DefaultPersistenceDelegate.mutates should delegate the comparation to super class if the number of arguments in the specified constructor is zero or the class of oldInstance does not explicitly declare an "equals" method.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3782
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3782
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Leo Li
>         Attachments: patch-3782.diff
>
>
> Here is a testcase:
> public class MyDefaultPersistenceDelegate extends DefaultPersistenceDelegate
>     {
>         public boolean mutatesTo(Object oldInstance, Object newInstance)
>         {
>             return super.mutatesTo(oldInstance, newInstance);
>         }
>     }
> public void test_mutates_with_no_equals()
>     {
>         Object o1 = new Object();
>         Object o2 = new Object();
>         
>         MyDefaultPersistenceDelegate myDefaultPersistenceDelegate = new MyDefaultPersistenceDelegate();
>         assertTrue(myDefaultPersistenceDelegate.mutatesTo(o1, o2));       
>     }
> RI passes.
> Harmony fails.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.