Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8139820

URLClassPath.FileLoader constructor redundantly checks protocol

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14
    • Component/s: core-libs
    • Labels:

      Description

      Since the url argument has been checked to be "file" at the only place the constructor is called, removing the inner check seems like a safe cleanup

        Attachments

          Activity

            People

            Assignee:
            redestad Claes Redestad
            Reporter:
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: