JDK-8172361 : Update java-wrappers for WebKit generated classes following WebKit update
  • Type: Bug
  • Component: javafx
  • Sub-Component: web
  • Affected Version: 8u152,9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-01-06
  • Updated: 2020-01-31
  • Resolved: 2017-01-10
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u152Fixed 9Fixed
Related Reports
Relates :  
Relates :  
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 r197500 WebKit update in JDK-8166999, since the updated webkit has changed the generated wrappers.

See JDK-8157384 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/javafx.web/build/gensrc/java/com/sun/webkit/dom/*.java to modules/javafx.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
Comments
changeset: cc08bf3948a5 user: arajkumar date: Tue Jan 10 11:37:01 2017 +0530 description: 8172361: Update java-wrappers for WebKit generated classes following WebKit update Reviewed-by: kcr, mbilla URL: http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/cc08bf3948a5
10-01-2017

+1
10-01-2017

+1
09-01-2017

Thanks [~kcr]. http://cr.openjdk.java.net/~arajkumar/8172361/webrev
09-01-2017

Here is a preliminary patch taking the generated wrappers from our nightly build.
06-01-2017

Note that this only affects developer builds (for those developers who do not build WebKit). Release builds are unaffected.
06-01-2017