JDK-6186650 : Static interpretation of auto-proxy script on Windows.
  • Type: Enhancement
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 1.4.1_06
  • Priority: P1
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2004-10-29
  • Updated: 2010-04-04
  • Resolved: 2004-11-18
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.
Other JDK 6
1.4.2_07 b03Fixed 6Fixed
Description
In Tiger, java.net introduced new apis, and the deployment products (Java Web Start and Java Plug-in) used them, to implement dynamic processing of auto-proxy scripts (pac files).  This ment that when a URLConnection is made, the auto-proxy script could be processed with that URL to find the best available proxy. (On Windows, this uses the javascript engine from IE).

With previous versions of java, there are no such API's to provide the dynamic interpretation, but we could implement static interpretation, using (again on Windows) the IE javascript engine to determine the best proxy for a static url (such as "http://java.sun.com"), and then use that proxy for all connections.
This would be an improvment on the current code (in Java Web Start 1.4.2), which only reads the pac file looking for the first instance of the word "PROXY", and then shows a dialog to the user suggesting he accept this proxy as a manual configuration.
###@###.### 10/29/04 14:30 GMT

Comments
EVALUATION we will backport a static instance of this code to 1.4.2. We also need to add a static instance of this code to later versions for instances where Java Web Start 1.5 or later is run with a pre-1.5 JRE. ###@###.### 10/29/04 14:30 GMT
29-10-2004