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

Fix CLASSPATH parsing for sub-directorys containing spaces

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: tools
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                herrick Andy Herrick
                Reporter:
                herrick Andy Herrick
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: