You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2016/12/07 07:53:58 UTC

[jira] [Created] (SLING-6371) Comparing two globs in Path.matches() does not work

Bertrand Delacretaz created SLING-6371:
------------------------------------------

             Summary: Comparing two globs in Path.matches() does not work
                 Key: SLING-6371
                 URL: https://issues.apache.org/jira/browse/SLING-6371
             Project: Sling
          Issue Type: Bug
          Components: API
    Affects Versions: API 2.15.0
            Reporter: Bertrand Delacretaz
            Assignee: Bertrand Delacretaz
            Priority: Minor
             Fix For: API 2.16.2


The o.a.s.api.resource.path.Path.matches method uses Pattern.equals to compare regexp pattern but that's not implemented semantically in the Pattern class, so the comparison fails.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)