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

JAR Class-Path no longer accepts relative URLs encoding absolute Windows paths (e.g "/C:/...")

    Details

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

      Description

      Following JDK-8211941, et al, relative URLs that encode an absolute Windows file path (e.g., "/C:/path/to/file.jar") are ignored when used as entries in a JAR's Class-Path attribute.

      This was discussed on core-libs-dev:
      https://mail.openjdk.java.net/pipermail/core-libs-dev/2019-November/063491.html

      A workaround is to use an absolute URL (e.g. "file:/C:/...").

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bchristi Brent Christian
                Reporter:
                bchristi Brent Christian
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: