Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3867

Space char always last char of read system property on Windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 5.0.0.Beta4
    • Server
    • None

      On Windows each system property read has a space char as the last char of string.
      This causes failures when the property represents a directory name. Calling
      tmp.toPath().toRealPath() in this situation.

      ServerEnvironment line, 434 Path resolved = tmp.toPath().toRealPath();

              rsearls r searls
              rsearls r searls
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: