Questions from Apple
Jean-Christophe Collet
Jean-Christophe.Collet at Sun.COM
Tue Apr 7 05:28:52 PDT 2009
Roman Kennke wrote:
>> Hi,
>>
>
>
>>> 2) Does the JDK support PAC files ? (Again, they know that applets and
>>> webstart does, through the browser settings).
>>>
>> No this requires a javascript interpreter which we don't have in
>> standalone JDK.
>>
>
> No? Isn't javax.script an API for scripting, and actually has a
> JavaScript interpreter underneath?
>
> /Roman
>
>
Ok, I should have been a bit more specific I guess.
We didn't have a scripting engine when we introduced the ProxySelector
API back in 1.5
Even now it's still more complicated than that, since PAC files relies
also on a number of library functions like shExpMatch(), isInNet(),
dnsResolve() etc... which are not part of the engine per-se.
In any cases this would be a significant amount of work, but the good
news is that the ProxySelector framework has been designed to allow for
plugins.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jean-christophe_collet.vcf
Type: text/x-vcard
Size: 246 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/net-dev/attachments/20090407/f2042613/jean-christophe_collet.vcf
More information about the net-dev
mailing list