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

hideOverlay failures should not cause applet startup failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: fx1.2.1
    • Fix Version/s: fx1.2.3
    • Component/s: deploy
    • Labels:

      Description

      On macos and safari, when launching javafx applets, sometimes the applet will fail to launch due to netscape.javascript.JSException when we call Applet.hideOverlay from the FX runtime. This might happen when the overlay on the browser side is not ready yet when we try to call the overlay.

      The problem can be reproduced when you try to refresh on a sample applet on javafx.com quickly multiple times.

      Anyway, if the overlay is not ready, we should just catch the exception and let the applet continue to launch. This should not prevent applet from launching.

        Attachments

          Activity

            People

            Assignee:
            ngthomas Thomas Ng (Inactive)
            Reporter:
            ngthomas Thomas Ng (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: