Release Note: Path Component of File URL Cannot Be Used As Class Path Element without Decoding

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Delivered
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: tools

      The class path specified to the java launcher is expected to be a sequence of file paths. Previous releases incorrectly accepted a Windows path with a leading slash, for example `-classpath /C:/classes`, which is not the intended behavior. The implementation of the application class loader has been changed in JDK 9 to use the new file system API which detects that `/C:/classes` is not a valid file path. Existing applications specifying a file URI on the class path will need to change and specify a valid file path.

            Assignee:
            Mandy Chung (Inactive)
            Reporter:
            Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: