Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8163316

Update FX to use new gnu style java command line options

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: javafx
    • Labels:

      Description

      We need to adapt to the new gnu style java command for many of the arguments we use - like -Xpatch -> --patch-module

      This is known to affect
          * buildSrc/src/main/java/workaround/GradleJUnitWorker.java
          * build.gradle (generation of xpatch.args if not other places)
          * tools/scripts/make_xpatch.args
          * others ?
      Also... change the paths so they are quoted to protect against paths with spaces in them.
      Consider fixing the java.library.path to point to other than build/sdk

      Once we change this, we will need to version check JIGSAW_BUILD

      for the latest options, see: http://openjdk.java.net/jeps/293

      -Xpatch ->
      --patch-module <module>=<file>(:<file>)*

      -addExport, -addReads ->
      --add-reads <module>=<target-module>(,<target-module>)*
      --add-exports <module>=<target-module>(,<target-module>)*

      -mp, -modulepath ->
      --module-path <path>, -p <path>
      Override or augment a module with classes and resources in JAR files or directories.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ddhill David Hill (Inactive)
                Reporter:
                ddhill David Hill (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: