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

Details

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

    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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: