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

embedded_jnlp param requires also code or jnlp_href param or applet arg.

    Details

    • Subcomponent:
    • Resolved In Build:
      b18

      Backports

        Description

        The option to embed the jnlp file in a web page was added in JDK7, to optimize launching jnlp applets.
        The parameter (or applet arg) was added to neither the list in:
        src/plugin/share/plugin2/npjp2/NPAPIJavaPlugin.cpp, nore the code in
        src/common/share/classes/com/sun/applet2/AppletParameters.containsAppletCode()

        as a result, you still need one of {jnlp_href, code, object, java_code} to launch an applet.

        Oracle forms has reported that it was necessary to add jnlp_href="foo.jnlp", to their applet html page when using embedded_jnlp, and that the file at codebase/foo.jnlp would be downloaded and applet would fail if it were not there.

        This is contrary to the purpose of embedded_jnlp, and was only caused by the oversight of not adding it to the two lists (one is for IE, the other is for Mozilla based browsers) to allow applet to run if one of the items is there.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  herrick Andy Herrick
                  Reporter:
                  herrick Andy Herrick
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: