JDK-8066535 : Jnlp fails to load with CouldNotLoadArgumentException.
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: linux_ubuntu
  • CPU: x86_64
  • Submitted: 2014-12-03
  • Updated: 2014-12-15
  • Resolved: 2014-12-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Description
Testsuite:JawsSecurity in javaws
Test name(s):JawsSecurityScenarios/testIllegalArgExecution_jwsAbsolutePath.html
Product(s) tested:Jre9b40/64bit
OS/architecture:ubuntu12.04-x64

Reproducible: Always
Reproducible on machine:egtc

Is it a Regression:Not sure

Test result on the last GAed release for this train:

[if Fail] Test result on FCS:

Is it a platform specific issue:

Exception/Error from Log:
http://scaaa008.us.oracle.com:9502/runs%2F647260.ManualSubmit-1/JawsSecurityScenarios/testIllegalArgExecution_jwsAbsolutePath.jtr

Copy JDF workspace,install test jre,and run this case
Steps to reproduce:
1.Clear cache: javaws -uninstall
2.Launch the test case by javaws command from local ws
3.For exmaple on windows:
javaws C:\my_location\deployment_int_ws4\new_framework\tests\javaws\manual\JawsSecurity\jnlp\testIllegalArg.jnlp(Note: Do not add file:\\ before the path)
4.Accept the signed security warning dialog
5.Make sure application with title "Hello" gets launched and "PASS!!!" is printed out inside the application

The actual result: 
Jnlp fails to load with CouldNotLoadArgumentException.Please refer to attachment.png.
JDK-8062392 needs to be resolved in jdk9 ws.
Comments
This bug is duplicated with https://bugs.openjdk.java.net/browse/JDK-8062392 which has been fixed on jre9-b42 and verified that cases work fine with jre9-b42. So please close this bug as Duplicate.
15-12-2014

This issue can be reproduced starting form jre9-b32. Env: win7/x86 Steps to reproduce: 1. Install jre9-b40, clear cache 2. Download http://kgb.us.oracle.com:8080/JawsSecurity/classes/MaliciousCode.jar into your C:\test 3. Import self signed cert to have a valid trusted cert - Download http://kgb.us.oracle.com:8080/JawsSecurity/lib/self.valid.cert - Open JCP->Security->Manage Certificates...->Select "Certificate type" as "Singer CA"->Click "Import" button to import self.valid.cert(password is "changeit") 4. Load app testIllegalArg.jnlp with one of the following ways: 1) Open http://kgb.us.oracle.com:8080/JawsSecurity/jnlp/testIllegalArg.jnlp in browser(it will be saved by browser and started via javaws) 2) Download testIllegalArg.jnlp from http://kgb.us.oracle.com:8080/JawsSecurity/jnlp/ to your C:\test and then open CMD and run: javaws C:\test\testIllegalArg.jnlp 3) Download testIllegalArg.jnlp from http://kgb.us.oracle.com:8080/JawsSecurity/jnlp/ to your C:\test and then open CMD and run: javaws testIllegalArg.jnlp 5. Accept security warning dialog 6. If jnlp fails to get loaded with CouldNotLoadArgumentException, then this bug is reproduced. src location: http://sqeweb.us.oracle.com/net/sqenfs-1/export1/comp/jsn/users/crystal/DO_NOT_REMOVE_ME/jrebug/JDK-8066535/src/ Note: 1. These cases are used to cover JDK-8024941 2. This issue starts from jre9-b32. No such issue with jre9-b31.
04-12-2014

There's the same issue happened on mac10.9 with Jre9b40/64bit + safari7
03-12-2014

There's the same issue happened on win7-x86 with Jre9b40/32bit RULE JawsSecurityScenarios/testIllegalArgExecution_Browser any any RULE JawsSecurityScenarios/testIllegalArgExecution_jwsAbsolutePath any any RULE JawsSecurityScenarios/testIllegalArgExecution_jwsRelativePath any any
03-12-2014

Affected Tests: RULE JawsSecurityScenarios/testIllegalArgExecution_jwsAbsolutePath any any RULE JawsSecurityScenarios/testIllegalArgExecution_jwsRelativePath any any
03-12-2014