The new update to the QTKit code for JavaFX Web View uses some APIs that apple considers "private."
If you do some web searching you will find some QTWebKit bugs and blog posts that provide instructions for a Mac App Store "clean" way to build it, so it can be fixed.
Right now packager has to remove the dylib, much in the same way the media libraries were excluded for QuickTime APIs.
I get build failures with your patch applied. These will need to be resolved before we can proceed. I am compiling on Mac OS X 10.9.5 which matches our production build machines.
webrev : http://cr.openjdk.java.net/~ghb/8138652/webrev.00/
Root cause : We were dynamically linked native library "libicucore.dylib" provided by OS X framework. Some of the API (mentioned in Description) are public. This restricts our javafx bundled with native webkit library getting rejected from app store.
Solution: Use statically linked lib icu (which we are doing for windows and linux) with native webkit.
Issue blocks app submission to Apple (Mac) app store.
If this is fixed in 8u then please file a bug against the Java Packager to not strip out libjfxwebkit.dylib