[jboss-jira] [JBoss JIRA] (WFCORE-3867) Space char always last char of read system property on Windows
R Searls (JIRA)
issues at jboss.org
Tue May 22 12:33:00 EDT 2018
[ https://issues.jboss.org/browse/WFCORE-3867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580491#comment-13580491 ]
R Searls commented on WFCORE-3867:
----------------------------------
Possibly, but the failing code is in the server module and not a script. A script is setting the sys var that are being processed by the server module code.
> 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