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

arguments in original jnlp overwrite the arguments in href jnlp when using SingleInstance Service

XMLWordPrintable

    • b85
    • generic
    • windows, windows_xp

        test env: jre8 b29, 32bit winxp

        steps to reproduce:
        1)enable java console
        2)launch the following 2 apps
        http://rehte.cn.oracle.com:8080/wshost/new_framework_exe/new_framework/tests/javaws/jawsService/jnlp/red_href.jnlp
        http://rehte.cn.oracle.com:8080/wshost/new_framework_exe/new_framework/tests/javaws/jawsService/jnlp/red_href2.jnlp
        The 2 jnlps are different, but both of them point to red_href.jnlp in href.
        The first app adds a single instance service, in the java console, we can see

        MultipleLaunch newActivation() called....
        MultipleLaunch NEW-ACTIVATION BLUE

        It means when launching red_href2.jnlp, though it uses the main calss in red_href.jnlp, but passes the arguments in red_href2.jnlp to it.

        Souce code location: http://rehte.cn.oracle.com:8080/wshost/new_framework_exe/new_framework/tests/javaws/jawsService/src/

              herrick Andy Herrick (Inactive)
              qgong Fred Gong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: