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

cannot launch dragged out applet from shortcut, get ClassCastException

XMLWordPrintable

    • b139
    • generic, x86
    • windows, windows_xp
    • Verified

      Tested JRE: b130-pit http://rehudson.sfbay.sun.com/hudsonws/deploypit/bundles/ Label: b255-2011-02-10_39
      Tested OS: winxp
      Tested Browser: firefox3.6, IE8

      Steps to reproduce:
      1) Clear deploment cache
      2) Launch the following applet in browser:
      http://rehte.cn.oracle.com:8080/wshost/new_ws/deployment/src/plugin/Decoration/Decoration/html/DecorationTrueJnlp.html
      this jnlp applet can be dragged out, and has shortcut hint in jnlp file
      3) Drag the applet out of browser
      4) Close the browser
      5) When prompting whether to create a desktop shortcut, click "OK"
      6) Close the applet
      7) Launch the applet from desktop shortcut, if the applet can not be launched from desktop, the bug is reproduced

      If we create the shortcut by "javaws -import -silent -shortcut http://rehte.cn.oracle.com:8080/wshost/new_ws/deployment/src/plugin/Decoration/Decoration/html/DecorationTrueJnlp.jnlp", the applet can be launched correctly from desktop shortcut

      Source code location:
      http://rehte.cn.oracle.com:8080/wshost/new_ws/deployment/src/plugin/Decoration/Decoration/src/

            alin Audrey Lin (Inactive)
            qgong Fred Gong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: