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

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

    Details

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

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: