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

    • Bug
    • Resolution: Duplicate
    • P2
    • None
    • fx2.0
    • deploy
    • 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

        1. hs_err_pid5444.log
          16 kB
          Stephen Hu
        2. ie7.stack.txt
          12 kB
          Stephen Hu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported: