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:/...")

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 14
    • 13
    • core-libs
    • None

      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:/...").

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

              Created:
              Updated:
              Resolved: