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

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

    Details

      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) is:

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

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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  ropalka Richard Opalka
                  Reporter:
                  ropalka Richard Opalka
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: