[jboss-jira] [JBoss JIRA] (WFCORE-1493) org.jboss.as.host.controller.Main.getHostSystemProperties() doesn't propagate -Djdk.launcher.addexports.%d=%s value properly

Richard Opalka (JIRA) issues at jboss.org
Wed Apr 20 16:16:00 EDT 2016


     [ https://issues.jboss.org/browse/WFCORE-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Opalka updated WFCORE-1493:
-----------------------------------
    Description: 
JDK9 provides -XaddExports launch option to workaround potential migration problems to modularized JDK.
*When modularized JDK forks new process all -XaddExports values are translated into
-Djdk.launcher.addexports.%d=%s JVM options.*
But method org.jboss.as.host.controller.Main.getHostSystemProperties()
has problems with its values.

The format of -XaddExports (and thus for -Djdk.launcher.addexports.%d=%s too):

{noformat}
-XaddExports:<source-module>/<package>=<target-module>(,<target-module>)*{noformat}

See http://openjdk.java.net/jeps/261 for more information.

  was:
JDK9 provides -XaddExports launch option to workaround potential migration problems to modularized JDK. But method org.jboss.as.host.controller.Main.getHostSystemProperties()
has problems with its values.

The format of -XaddExports is:

{noformat}-XaddExports:<source-module>/<package>=<target-module>(,<target-module>)*{noformat}

See http://openjdk.java.net/jeps/261 for more information.

        Summary: org.jboss.as.host.controller.Main.getHostSystemProperties() doesn't propagate -Djdk.launcher.addexports.%d=%s value properly  (was: org.jboss.as.host.controller.Main.getHostSystemProperties() doesn't propagate -XaddExports value properly)


> org.jboss.as.host.controller.Main.getHostSystemProperties() doesn't propagate -Djdk.launcher.addexports.%d=%s value properly
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFCORE-1493
>                 URL: https://issues.jboss.org/browse/WFCORE-1493
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Domain Management
>    Affects Versions: 2.1.0.Final
>            Reporter: Richard Opalka
>            Assignee: Richard Opalka
>             Fix For: 3.0.0.Alpha1
>
>
> JDK9 provides -XaddExports launch option to workaround potential migration problems to modularized JDK.
> *When modularized JDK forks new process all -XaddExports values are translated into
> -Djdk.launcher.addexports.%d=%s JVM options.*
> But method org.jboss.as.host.controller.Main.getHostSystemProperties()
> has problems with its values.
> The format of -XaddExports (and thus for -Djdk.launcher.addexports.%d=%s too):
> {noformat}
> -XaddExports:<source-module>/<package>=<target-module>(,<target-module>)*{noformat}
> See http://openjdk.java.net/jeps/261 for more information.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list