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

LiveConnect JavaFX calls JS: JSObject.eval(null) or JSObject.call(null, ...) crashes FF/GC while makes IE client JVM hung.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: fx2.0
    • Fix Version/s: None
    • Component/s: deploy
    • Labels:
    • Environment:

      OS: winxp-pro-sp3/x86
      Browsers: FF5/GC13/IE7
      JRE: 7-pro-b147
      FX: latest scrum deploy (b262)

      Description

      Access http://sqeweb.us.oracle.com/net/sqenfs-1/export1/comp/jsn/users/stephen/deployment_stuff/sqe_ws/7/deployment/src/javafx/LiveConnect/LiveConnect/html/EvalTest_null.html, the fx applet inside basically does:
      ====Begin of Code====
      win = getHostServices().getWebContext();
      logger.logln("Calling win.eval(" + evalString + ")...");
      Object ret = win.eval(evalString);
      logger.logln("Done calling:");
      ====End of Code====

      If you see the following behavior on various browsers, then the issue is reproduced.
      FF5/GC13: the browser crash
      IE7: the IE client JVM hung (waitting at line "Object ret = win.eval(evalString);")

      hs_err file for FF and jstack file for IE7 client JVM are also attached.

      The same issue could be observed upon calling on win.call(null), too.

        Attachments

          Activity

            People

            Assignee:
            henryjen Henry Jen
            Reporter:
            stephenh Stephen Hu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: