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

Incremental build of WebKit native library is broken

    Details

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

      Description

      Following the change to build with a Jigsaw-aware JDK, an incremental build of WebKit native library no longer works. If you make a change in a native source code file and build with:

      gradle -PCOMPILE_WEBKIT=true

      The :web:compileNativeXxxxx task is not run and the library is not rebuilt.

      To reproduce:

      1. Compile with:

      gradle -PCOMPILE_WEBKIT=true


      2. change a file, for example, modules/javafx.web/src/main/native/Source/WebCore/platform/java/WebPage.cpp, to add a print statement.


      3. Compile again with:

      gradle -PCOMPILE_WEBKIT=true

      Note that :web:compileNativeXxxx is listed as up to date


      4. Run a test program and note that your print statement doesn't show up.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kcr Kevin Rushforth
                Reporter:
                kcr Kevin Rushforth
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: