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

Refactor Window, WindowFactory and PluginWindowFactory for Fx on Mac

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • P2
    • Resolution: Fixed
    • 7u6
    • 8
    • deploy
    • None
    • b36
    • x86
    • os_x
    • Verified

    Backports

      Description

        Currently, com.sun.deploy.uitoolkit.impl.fx.FxWindow only takes one paramter in its constructor -- the pointer to a parent HWND or Xtoolkit equivalent. On Mac this isn't right. The parent will always be 0, and the embedded Fx frame needs to talk to a remote server for cross-process layer sharing.

        This bug tracks the needed changes so the CA rendering server can be passed into FxWindow, and to get the knowledge of communicating the remote CALayer's ID back to the plugin server process out of PluginEmbeddedFrame on the Mac. This will let us minimize the code we need to expose to JavaFx.
        Since I now have a preliminary set of changes on the Fx side to support this, I'm expanding this bug to cover all changes needed to support JavaFx in applets and Web Start on the Mac. Specifically:

        -- changes to handle a different OS name broke the check to see if JavaFx is supported on Mac.
        -- Legacy Apple JVMs are being reported as available for use and shouldn't be
        -- Mismatch in cache location between system_md.c and Java code.

        We also need to generate proper mime types that indicate Fx is available and installed, but this is in a separate bug.

        Attachments

          Issue Links

            Activity

              People

                skovatch Scott Kovatch (Inactive)
                skovatch Scott Kovatch (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: