[OS-JIRA] Created: (CAY-384) Infinite Loop in equals method

From: jira-norepl..bjectstyle.org
Date: Sun Oct 02 2005 - 07:31:37 EDT

  • Next message: jira-norepl..bjectstyle.org: "[OS-JIRA] Created: (CAY-385) [PATCH] Use entrysets when key and value are desired"

    Message:

      A new issue has been created in JIRA.

    ---------------------------------------------------------------------
    View the issue:

      http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-384

    Here is an overview of the issue:
    ---------------------------------------------------------------------
            Key: CAY-384
        Summary: Infinite Loop in equals method
           Type: Bug

         Status: Assigned
       Priority: Minor

        Project: Cayenne
     Components:
                 Cayenne Core Library
       Versions:
                 1.2 [DEV]

       Assignee: Andrus Adamchik
       Reporter: Dave Brosius

        Created: Sun, 2 Oct 2005 7:30 AM
        Updated: Sun, 2 Oct 2005 7:30 AM
    Environment: n/a

    Description:
    in org.objectstyle.cayenne.gen.ImportUtils

    the generate method uses a anonymous class as a comparator that has this as it's equals method:

                public boolean equals(Object obj) {
                    return this.equals(obj);
                }

    this is just an infinite recursive loop

    ---------------------------------------------------------------------
    JIRA INFORMATION:
    This message is automatically generated by JIRA.

    If you think it was sent incorrectly contact one of the administrators:
       http://objectstyle.org/jira/secure/Administrators.jspa

    If you want more information on JIRA, or have a bug to report see:
       http://www.atlassian.com/software/jira



    This archive was generated by hypermail 2.0.0 : Sun Oct 02 2005 - 07:31:40 EDT