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

Fix CLASSPATH parsing for sub-directorys containing spaces

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • internal
    • internal
    • tools

      if the input dir has a subdir with spaces in the subdir name such as :
      input/
      input/jar1.jar
      input/sub dir
      input/sub dir/jar2.jar
      the classpath element written to the config file will be wrong:
      app.classpath=jar1.jar;sub;dir/jar2.jar
      and the app will not run.
      the resources are copied properly to the output dir but the classpath is wrong.
      There is no similar problem when the input dir itself has spaces in it.
      There may be similar problem if the jar name itself has spaces in it.

            herrick Andy Herrick (Inactive)
            herrick Andy Herrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: