When using the new jnlp.versionEnabled property to enable version download I've come across an issue when using with the file protocol based url.
When using the file protocol for a codebase such as :
The application installs the specified jar files into cache but fails to launch the application with:
at java.security.AccessController.doPrivileged(Native Method)
hello is the name of the main class.
This does not happen when the jnlp.versionEnabled flag is not set and the file names are not encoded in the __Vx.x.x format. It Also does not happen when running through http protocol codebase URL.
It seems like the cache files are not being used when the file protocol is called out in the url. Yet the are installed in the cache. I haven't tested yet but I suspect if I had both version of the jar file (__Vx.x.x and standard named file) it would work however it would not be using the jar files from the cache as I would expect.