[
https://issues.apache.org/jira/browse/JCR-789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489173
]
Julian Reschke commented on JCR-789:
------------------------------------
OK, I just realized that I've been using the updated version of Path.java in my
SPI implementation without noticing. Reverting back to the trunk version
triggers the problem again.
Thus, I'll commit my minor change (treating 0 and 1 in equals and hashCode as
the same). We can then still discuss whether a bigger change makes more sense.
> PathElement.equals doesn't handle INDEX_UNDEFINED
> -------------------------------------------------
>
> Key: JCR-789
> URL: https://issues.apache.org/jira/browse/JCR-789
> Project: Jackrabbit
> Issue Type: Bug
> Components: core
> Reporter: Julian Reschke
> Priority: Minor
> Attachments: jcr789.diff.txt
>
>
> PathElement (and therefore Path) comparisons fail when INDEX_UNDEFINED is
> used (it's treated differently from INDEX_DEFAULT).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.