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

Test jnlp_file/applicationDesc/index.html#args fails with incorrect arg value

    XMLWordPrintable

    Details

    • Subcomponent:
    • Introduced In Build:
      b48
    • Introduced In Version:
      9
    • Resolved In Build:
      b59
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Testsuite name:TCK-JNLP
        Test name(s) : jnlp_file/applicationDesc/index.html#args
        Product(s) tested: JDK 9 b52
        OS/architecture: Issue on all.
        Reproducible: Always
        Is it a Regression: Yes (Regression introduced in JDK 9 b48)
        Is it a platform specific issue: No

        Exception/Error from Log:

        result: Passed. OKAY

        #section:execute
        ----------messages:(1/179)----------
        command: com.sun.tck.jnlp.lib.JNLPCommand com.sun.tck.jnlp.lib.CommandJNLPLauncher C:/Progra~1/Java/jdk1.9.0/bin/javaws http://SPB23189:59147/jnlp_file/applicationDesc/test.jnlp
        ----------out1:(1/48)----------
        SPB2318959146SPB2318959146STATUS:Passed.Finished
        ----------out2:(0/0)----------
        result: Passed. Ok. Exit code 0

        #section:test
        ----------messages:(0/0)----------
        ----------ref:(6/293)----------
        ====== applicationDesc2001 ====== argument tag and main-class attribute
        arg #4 is test with whitespaces but should be test with whitespaces

        ====== applicationDesc2001 ====== argument tag and main-class attribute
        arg #4 is test with whitespaces but should be test with whitespaces

        ----------log:(5/175)----------
        applicationDesc2001: Failed. Incorrect arg value

        test cases: 1; all failed; first test case failure: applicationDesc2001
        applicationDesc2001: Failed. Incorrect arg value

        result: Failed. test cases: 1; all failed; first test case failure: applicationDesc2001


        test result: Failed. test cases: 1; all failed; first test case failure: applicationDesc2001


        Steps to reproduce:

        1. Install JDK
        2. Create ruleset.xml
        <ruleset version="1.0+">
          <rule>
            <id location="http://machinename" />
            <action permission="run" />
          </rule>
          <rule>
            <id location="http://machinename.ru.oracle.com" />
            <action permission="run" />
          </rule>
        </ruleset>
        3. The rule set file has to be packaged to jar file named DeploymentRuleSet.jar.
         ${JDK}/bin/jar cf DeploymentRuleSet.jar ruleset.xml
        ${JDK}/bin/jarsigner -keystore keystore.jks -storepass welcome DeploymentRuleSet.jar jnlptck
        ${JDK}/bin/keytool -importkeystore -noprompt -srckeystore keystore.jks -srcstorepass welcome -srcstoretype jks -destkeystore ${JRE}/lib/security/cacerts -deststoretype jks -deststorepass changeit -srcalias jnlptck
        4. Installation signed DeploymentRuleSet.jar @ /etc/.java/deployment
        5. command: com.sun.tck.jnlp.lib.JNLPCommand com.sun.tck.jnlp.lib.CommandJNLPLauncher C:/Progra~1/Java/jdk1.9.0/bin/javaws http://SPB23189:59147/jnlp_file/applicationDesc/test.jnlp

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                herrick Andy Herrick (Inactive)
                Reporter:
                vaibhav Vaibhav Choudhary (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: