JDK-6690612 : JNLP resources fail to download if cache is disabledT
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.
The widely used DownloadEngine.getResourceCacheEntry(),
did not handle the case: !cacheEnabled && doDownload,
which it should.
It is not recommended to encapsulate all 'fetch resource' calls
in the caller with 'isCacheEnabled', since it leads to
duplicate and confusing code.
In case of !cacheEnabled && doDownload,
DownloadEngine.getResourceCacheEntry() has to use
a temporary cache entry where the resource is downloaded into
and the caller can return the temporary file handle (File instance).