You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sis.apache.org by "Martin Desruisseaux (Jira)" <ji...@apache.org> on 2021/10/11 09:29:00 UTC

[jira] [Created] (SIS-519) Never-ending loop in AbstractFeature.equals/hashCode

Martin Desruisseaux created SIS-519:
---------------------------------------

             Summary: Never-ending loop in AbstractFeature.equals/hashCode
                 Key: SIS-519
                 URL: https://issues.apache.org/jira/browse/SIS-519
             Project: Spatial Information Systems
          Issue Type: Bug
          Components: Features
    Affects Versions: 1.1, 1.0, 0.8, 0.7, 0.6, 0.5
            Reporter: Martin Desruisseaux
            Assignee: Martin Desruisseaux
             Fix For: 1.2


If two feature instances have cyclic associations (a property of feature _A_ is an association to feature _B_, and a property of feature _B_ is an association to feature _A_), the `equals(Object)` and `hashCode()` methods of those features fall in an infinite loop. We need to add a safety against infinite recursivity.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)