Maintenance Notice

The site will be undergoing maintenance on 15th Dec 2017 21:00 PST to 16th Dec 2017 1:00 AM PST.
JDK-8041339 : JNLP with java-vm-args whose length exceeded 512 chars failed to get loaded with CouldNotLoadArgumentException
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 7u65,8u11
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-04-21
  • Updated: 2014-10-29
  • Resolved: 2014-04-29
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 Availabitlity Release.

To download the current JDK release, click here.
7u65Fixed 8u11Fixed 9 b15Fixed
Related Reports
Relates :  
Relates :  
Steps to reproduce:
1. Install 8u11-b04 and set security level to medium from JCP
2. Clear cache: javaws -uninstall
3. Launch app that has java-vm-args with length exceeded 512 chars by browser.(Input the url into browser's address area and press Enter. And then select javaws to launch it if necessary):
4.Accept security warning dialog promoted
5.If app failed to get loaded with the following exception, then this bug is reproduced:
CouldNotLoadArgumentException[ Could not load file/URL specified: C:\Users\wenjyang\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\7\10fd2b07-43f341ac]
	at com.sun.javaws.Main.launchApp(Unknown Source)
	at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
	at com.sun.javaws.Main.access$000(Unknown Source)
	at com.sun.javaws.Main$ Source)
	at Source)

Expected behavior: App should get loaded successfully.
Actual behavior: App gets blocked due to CouldNotLoadArgumentException.

Note: with jre8-b123, app can get loaded successfully.


request for 14_03: It's regression - and it's safer to reject bad characters earlier. SQE also agree.


I can reproduce with 8u11. And 8u5 works, so it's regression.

Affected tests: JawsSecurityScenarios/testIllegalArgExecution_Browser JawsSecurityScenarios/testIllegalArgExecution_jwsAbsolutePath JawsSecurityScenarios/testIllegalArgExecution_jwsRelativePath