[jboss-jira] [JBoss JIRA] (WFCORE-3867) Space char always last char of read system property on Windows

R Searls (JIRA) issues at jboss.org
Mon May 21 20:36:00 EDT 2018


R Searls created WFCORE-3867:
--------------------------------

             Summary: Space char always last char of read system property on Windows
                 Key: WFCORE-3867
                 URL: https://issues.jboss.org/browse/WFCORE-3867
             Project: WildFly Core
          Issue Type: Bug
          Components: Server
    Affects Versions: 5.0.0.Beta4
            Reporter: R Searls
            Assignee: R Searls
            Priority: Minor



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();



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list