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

javac @compile.args does not pick up changes in local build

XMLWordPrintable

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

      The newly generated rt/build/compile.args file uses --upgrade-module-path to point to the recently built local javafx.* modules. This does not correctly pick up any modified or added classes, presumably because the javafx.* modules in the JDK are not upgradeable.

      Instead we probably need to use --patch-module as is done in the run.args file. If I take run.args and strip out the -Djava.library.path (which I thought was the intention for compile.args) then it works correctly for a simple test case.

      The testcompile.args will likely need the same change.

            ddhill David Hill (Inactive)
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: