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

nizar.ben.mansour commented on FELIX-5997:
------------------------------------------

 [~jbonofre]  If you remove the hashcode and equals from 
AbstractCapabilityRequirement  and It's not there in the RequirementImpl.

How fetching from the the map that has the RequirementImpl as key will be done 
so ?

 

!image-2022-03-08-11-00-13-496.png!

 

What i have understand that it will pick the default equals and hashcode 
behavior of Object class ? Correct?

> Hashcode check doesn't work with fragment
> -----------------------------------------
>
>                 Key: FELIX-5997
>                 URL: https://issues.apache.org/jira/browse/FELIX-5997
>             Project: Felix
>          Issue Type: Bug
>          Components: Utils
>    Affects Versions: utils-1.11.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: utils-1.11.2
>
>         Attachments: image-2022-03-08-11-00-13-496.png
>
>
> With the introduction of hashcode in {{AbstractCapabilityRequirement}}, utils 
> is not able to deal with fragment.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to