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

Update FX to use new gnu style java command line options

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 9
    • 9
    • javafx

    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

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

              Dates

                Created:
                Updated:
                Resolved: