You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sis.apache.org by "Martin Desruisseaux (Jira)" <ji...@apache.org> on 2022/12/07 18:36:00 UTC

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

     [ https://issues.apache.org/jira/browse/SIS-519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Desruisseaux closed SIS-519.
-----------------------------------

> 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: 0.5, 0.6, 0.7, 0.8, 1.0, 1.1
>            Reporter: Martin Desruisseaux
>            Assignee: Martin Desruisseaux
>            Priority: Major
>             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.20.10#820010)