Details
-
Bug
-
Resolution: Not an Issue
-
P2
-
9
Description
Testsuite name:TCK-jnlp
Product(s) tested: JDK 9 b52
Test name(s):
http_requests/VersionBasedProtocol/index.html\#version_and
http_requests/VersionBasedProtocol/index.html\#version_and2
OS/architecture: Generic ( tested on Linux, Windows)
Reproducible: Always
Is it a Regression: Yes (Passing with JDK 9 b40)
Test result on the last GAed release for this train: NA
Is it a platform specific issue: No
Is it a new (previously unsupported) OS/browser/mode testing: No
Steps to reproduce:
1. extract JDK
2. Decrease Java Security Level to medium.
3. Create ruleset.xml
<ruleset version="1.0+">
<rule>
<id location="http://host" />
<action permission="run" />
</rule>
<rule>
<id location="http://host.ru.oracle.com" />
<action permission="run" />
</rule>
</ruleset>
4. 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
5. Installation signed DeploymentRuleSet.jar @ /etc/.java/deployment
6. com.sun.tck.jnlp.lib.JNLPCommand com.sun.tck.jnlp.lib.CommandJNLPLauncher C:/Progra~1/Java/jdk1.9.0/bin/javaws http://SPB23189:59131/http_requests/VersionBasedProtocol/version_and.jnlp
Exception/Error from Log:
----------log:(0/0)----------
result: Passed. OKAY
#section:execute
----------messages:(1/195)----------
command: com.sun.tck.jnlp.lib.JNLPCommand com.sun.tck.jnlp.lib.CommandJNLPLauncher C:/Progra~1/Java/jdk1.9.0/bin/javaws http://SPB23189:59131/http_requests/VersionBasedProtocol/version_and.jnlp
----------out1:(1/77)----------
#### Java Web Start Error:#### Could not parse launch file. Error at line 15.
----------out2:(0/0)----------
result: Failed. The jnlp client exit code is -1
test result: Failed. The jnlp client exit code is -1
Product(s) tested: JDK 9 b52
Test name(s):
http_requests/VersionBasedProtocol/index.html\#version_and
http_requests/VersionBasedProtocol/index.html\#version_and2
OS/architecture: Generic ( tested on Linux, Windows)
Reproducible: Always
Is it a Regression: Yes (Passing with JDK 9 b40)
Test result on the last GAed release for this train: NA
Is it a platform specific issue: No
Is it a new (previously unsupported) OS/browser/mode testing: No
Steps to reproduce:
1. extract JDK
2. Decrease Java Security Level to medium.
3. Create ruleset.xml
<ruleset version="1.0+">
<rule>
<id location="http://host" />
<action permission="run" />
</rule>
<rule>
<id location="http://host.ru.oracle.com" />
<action permission="run" />
</rule>
</ruleset>
4. 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
5. Installation signed DeploymentRuleSet.jar @ /etc/.java/deployment
6. com.sun.tck.jnlp.lib.JNLPCommand com.sun.tck.jnlp.lib.CommandJNLPLauncher C:/Progra~1/Java/jdk1.9.0/bin/javaws http://SPB23189:59131/http_requests/VersionBasedProtocol/version_and.jnlp
Exception/Error from Log:
----------log:(0/0)----------
result: Passed. OKAY
#section:execute
----------messages:(1/195)----------
command: com.sun.tck.jnlp.lib.JNLPCommand com.sun.tck.jnlp.lib.CommandJNLPLauncher C:/Progra~1/Java/jdk1.9.0/bin/javaws http://SPB23189:59131/http_requests/VersionBasedProtocol/version_and.jnlp
----------out1:(1/77)----------
#### Java Web Start Error:#### Could not parse launch file. Error at line 15.
----------out2:(0/0)----------
result: Failed. The jnlp client exit code is -1
test result: Failed. The jnlp client exit code is -1
Attachments
Issue Links
- relates to
-
JDK-8075605 JNLP Specification update for JDK9
- Resolved