[
https://issues.jboss.org/browse/WFCORE-4386?page=com.atlassian.jira.plugi...
]
James Perkins commented on WFCORE-4386:
---------------------------------------
In the PR
https://github.com/wildfly/wildfly-core/pull/3797 I added some tests for
different directories and the addition of tests which enable GC logging. While doing this
I noticed that with Java 11 there were issues if the path contained a space. This may be
related to
https://bugs.openjdk.java.net/browse/JDK-8215398, however it seemed to work
fine with the workaround assuming the path did not contain a space. Nothing I did seemed
to be able to get around this issue. I'm not sure if it's something we can fix or
not, but someone with a better knowledge of PowerShell may know a workaround.
Unable to start WF with JDK11 and GC log enabled with space in folder
name
--------------------------------------------------------------------------
Key: WFCORE-4386
URL:
https://issues.jboss.org/browse/WFCORE-4386
Project: WildFly Core
Issue Type: Bug
Components: Scripts
Reporter: Marek Kopecky
Assignee: James Perkins
Priority: Major
Unable to start WF with JDK11 and GC log enabled with space in folder name
"w f/bin/standalone.ps1"
Log:
{noformat}
[0.005s][error][logging] Missing terminating quote in -Xlog option
'file="C:\Users\Administrator\playground\w'
Invalid -Xlog option '-Xlog:gc*:file="C:\Users\Administrator\playground\w',
see error log for details.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
{noformat}
The issue is caused by [this line of common.ps1
file|https://github.com/wildfly/wildfly-core/blob/master/core-feature-pac...]
--
This message was sent by Atlassian Jira
(v7.12.1#712002)