JDK-7037336 : Downloading of resources with redirect URL should remember final URL
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.
Current when resources are downloaded from URL with directed, they are stored in cache or in temporary storage without memory of the final location where the resource came from. This information is needed for setup accurate codesource.
The main changes is when download of resource with redirect url to cache we create additional "redirect cache entry" with "Location" header field pointing to the final URL cache entry. For caching disabled case, we also remember the final URL through a static hashtable.