[ 
https://issues.apache.org/jira/browse/SIS-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17427032#comment-17427032
 ] 

Martin Desruisseaux edited comment on SIS-519 at 10/11/21, 9:29 AM:
--------------------------------------------------------------------

Fixed in commit {{f311c23a97b22ce473631101737132012320cf8a}}.


was (Author: desruisseaux):
Fixed in commit {{911a413919d06cd4a549a4365c461e02adb622d3}}.

> 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.3.4#803005)

Reply via email to