JDK-6777181 : java 6 plugin caching problem with redirected URLs
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u12
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2008-11-27
  • Updated: 2013-01-17
  • Resolved: 2011-10-17
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 7
7u1Resolved
Related Reports
Duplicate :  
Description
while doing testing of JavaFX applets using dl.javafx.com, it is discovered that java plugin in java 6 or above does not properly with redirected URLs.  The original URL resource gets cached under the name of the re-directed URLs, instead of the original URL.

Comments
EVALUATION This has been fixed in 7 and also backported to 6u.
17-10-2011

EVALUATION problem only exists in plugin (old or new). webstart is okay. it's probably due to the existence of DeployCacheHandler in plugin, which does not exists in webstart. DeployCacheHandler by default caches every connection made by plugin. So when the URL is redirected (302 http repsonse), we follow the redirect URL, and cache the resource under the redirected URL. we should make sure in this case, we follow all the 302 requests until there is no more redirect, then do the download, and cache the resource using the original request URL.
27-11-2008