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

Update java-wrappers for WebKit generated classes following WebKit update

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u112, 9
    • Fix Version/s: 9
    • Component/s: javafx
    • Labels:
    • Subcomponent:
      web

      Backports

        Description

        The com.sun.webkit.dom Java wrappers, which are generated by the native WebKit build, are also checked into modules/web/src/main/java-wrappers/com/sun/webkit/dom so that the Java code can build without requiring a build of the native WebKit.

        These files need to be refreshed following the WebKit update in JDK-8156698, since the updated webkit has changed the generated wrappers.

        See JDK-8090062 for the last time this was done. The basic recipe is:

        1. Build FX 9-dev with -PCOMPILE_WEBKIT=true

        2. Copy the .java files from modules/web/build/win/Release/DerivedSources/WebCore/nativeJava/java/com/sun/webkit/dom/*.java to modules/web/src/main/java-wrappers/com/sun/webkit/dom/

        3. Build FX 9-dev again, this time with -PCOMPILE_WEBKIT=false (as a sanity test to make sure it still builds).

        4. Create a webrev with the changes for the java-wrappers

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  arajkumar Arunprasad Rajkumar
                  Reporter:
                  kcr Kevin Rushforth
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: