Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3823

ConnectorRegistryImpl uses java.net.URL.equals

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Discovery Impl 1.0.10
    • Discovery Impl 1.0.12
    • Extensions
    • None

    Description

      Reported at https://analysis.apache.org/drilldown/issues/35893?&rule=findbugs%3ADMI_BLOCKING_METHODS_ON_URL&rule_sev=BLOCKER&severity=BLOCKER# .

      The problem with java.net.URL.equals is that it can perform name resolution, and therefore block for large amounts of time ( large in terms of how fast an 'equals' method is expected to return )

      Attachments

        Activity

          People

            rombert Robert Munteanu
            rombert Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: