Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8185596 Class path does not accept malformed file path
  3. JDK-8185990

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

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P4 P4
    • 9
    • 9
    • 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.

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

              Created:
              Updated:
              Resolved: