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

DnD: JNLP applets specifying system properties or JVM arguments don't relaunch

    Details

    • Subcomponent:
    • Resolved In Build:
      b32
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      A customer (see Comments for details) reports that if a JNLP-launched applet is dragged to the desktop and the JNLP file specifies system properties or (certain?) JVM command-line arguments, relaunching the applet from a desktop shortcut will fail with the following exception:

      Starting applet (200x200) with parameters:
        height = 200
        __applet_relaunched = false
        java_arguments =
        width = 200
        code = applet.DragExample
      Validating file:/C:/nbWorkspace/AppletTest/dist/AppletTest.jar , version null...
      JNLP2Viewer.appletJRERelaunch:
          java_version : 1.6+
          java_arguments : -Djnlp.packEnabled=true
      java.lang.Exception: JNLP2Viewer.appletJRERelaunch: 1.6+ ; -Djnlp.packEnabled=true
          at sun.plugin2.applet.viewer.JNLP2Viewer$1$3.appletJRERelaunch(Unknown Source)
          at sun.plugin2.applet.Plugin2Manager.fireAppletJRERelaunch(Unknown Source)
          at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
          at java.lang.Thread.run(Unknown Source)

      The JNLP2Manager is attempting to relaunch the applet when doing so is not supported by the surrounding environment.

      The customer's test case (NetBeans project) is attached.

        Attachments

          Activity

            People

            • Assignee:
              ccheung Calvin Cheung
              Reporter:
              kbr Kenneth Russell (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: