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

[macosx] New WebView Native Code uses private Apple APIs

    Details

    • Subcomponent:
      web
    • OS:
      os_x

      Backports

        Description

        The new update to the QTKit code for JavaFX Web View uses some APIs that apple considers "private."

            ubrk_getRuleStatus
            ubrk_setUText
            ucnv_getCanonicalName
            ucnv_reset
            ucol_strcollIter

        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.

          Issue Links

            Activity

            shemnon Danno Ferrin (Inactive) created issue -
            shemnon Danno Ferrin (Inactive) made changes -
            Field Original Value New Value
            Link This issue relates to JDK-8138650 [ JDK-8138650 ]
            kcr Kevin Rushforth made changes -
            Fix Version/s 9 [ 14949 ]
            kcr Kevin Rushforth made changes -
            Status New [ 10000 ] Open [ 1 ]
            kcr Kevin Rushforth made changes -
            Labels regression
            kcr Kevin Rushforth made changes -
            Labels regression 8-bp regression
            kcr Kevin Rushforth made changes -
            Assignee Kevin Rushforth [ kcr ] Guru Hb [ ghb ]
            vdyakov Victor Dyakov made changes -
            Affects Version/s 9 [ 14949 ]
            vdyakov Victor Dyakov made changes -
            Labels 8-bp regression 8-bp macosx regression
            kcr Kevin Rushforth made changes -
            Link This issue duplicates JDK-8156106 [ JDK-8156106 ]
            scfitch Stephen Fitch made changes -
            Labels 8-bp macosx regression 8-bp PSU16_03-critical-watch macosx regression
            Hide
            scfitch Stephen Fitch added a comment -
            Issue blocks app submission to Apple (Mac) app store.
            Show
            scfitch Stephen Fitch added a comment - Issue blocks app submission to Apple (Mac) app store.
            Hide
            cbensen Chris Bensen (Inactive) added a comment -
            If this is fixed in 8u then please file a bug against the Java Packager to not strip out libjfxwebkit.dylib
            Show
            cbensen Chris Bensen (Inactive) added a comment - If this is fixed in 8u then please file a bug against the Java Packager to not strip out libjfxwebkit.dylib
            vdyakov Victor Dyakov made changes -
            Labels 8-bp PSU16_03-critical-watch macosx regression 8-bp PSU16_04-critical-watch macosx regression
            vdyakov Victor Dyakov made changes -
            Summary New WebView Native Code uses private Apple APIs [macosx] New WebView Native Code uses private Apple APIs
            kcr Kevin Rushforth made changes -
            Labels 8-bp PSU16_04-critical-watch macosx regression 8-bp macosx regression
            cbensen Chris Bensen (Inactive) made changes -
            Link This issue blocks JDK-8171527 [ JDK-8171527 ]
            ghb Guru Hb made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Understanding Cause Known [ 10000 ]
            ghb Guru Hb made changes -
            Link This issue is blocked by JDK-8173328 [ JDK-8173328 ]
            Hide
            ghb Guru Hb added a comment -
            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.
            Show
            ghb Guru Hb added a comment - 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.
            kcr Kevin Rushforth made changes -
            Link This issue relates to JDK-8173900 [ JDK-8173900 ]
            Hide
            arajkumar Arunprasad Rajkumar added a comment -
            lgtm
            Show
            arajkumar Arunprasad Rajkumar added a comment - lgtm
            mbilla Murali Billa made changes -
            Comment [ +1 ]
            vdyakov Victor Dyakov made changes -
            Due Date 2017-02-15
            Hide
            mbilla Murali Billa added a comment -
            +1
            Show
            mbilla Murali Billa added a comment - +1
            Hide
            kcr Kevin Rushforth added a comment -
            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.
            Show
            kcr Kevin Rushforth added a comment - 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.
            Hide
            kcr Kevin Rushforth added a comment -
            Build failure is resolved.

            +1
            Show
            kcr Kevin Rushforth added a comment - Build failure is resolved. +1
            Hide
            ghb Guru Hb added a comment -
            Changeset: 9bdcf1b4cc72
            Author: ghb
            Date: 2017-02-10 09:12 +0530
            URL: http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/9bdcf1b4cc72
            Show
            ghb Guru Hb added a comment - Changeset: 9bdcf1b4cc72 Author: ghb Date: 2017-02-10 09:12 +0530 URL: http://hg.openjdk.java.net/openjfx/9-dev/rt/rev/9bdcf1b4cc72
            ghb Guru Hb made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Understanding Cause Known [ 10000 ]
            Resolution Fixed [ 1 ]
            ghb Guru Hb made changes -
            Link This issue backported by JDK-8174801 [ JDK-8174801 ]
            ghb Guru Hb made changes -
            Link This issue relates to JDK-8174806 [ JDK-8174806 ]
            ghb Guru Hb made changes -
            Labels 8-bp macosx regression 8-bp CPU17_04-critical-watch macosx regression
            ghb Guru Hb made changes -
            Labels 8-bp CPU17_04-critical-watch macosx regression 8-bp CPU17_04-critical-request macosx regression
            pmohan Praveen Mohan made changes -
            Labels 8-bp CPU17_04-critical-request macosx regression 8-bp CPU17_04-critical-SQE-OK CPU17_04-critical-request macosx regression
            ydagra Yashi Dagra made changes -
            Labels 8-bp CPU17_04-critical-SQE-OK CPU17_04-critical-request macosx regression 8-bp CPU17_04-critical-SQE-OK CPU17_04-critical-approved macosx regression
            prr Philip Race made changes -
            Link This issue backported by JDK-8184400 [ JDK-8184400 ]

              People

              • Assignee:
                ghb Guru Hb
                Reporter:
                shemnon Danno Ferrin (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: