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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.0.0.Alpha1
    • 2.1.0.Final
    • Management
    • None

      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.

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

                Created:
                Updated:
                Resolved: