-
Bug
-
Resolution: Fixed
-
P1
-
6u3, 6u5
-
b01
-
b05
-
generic, x86
-
generic, windows_xp, windows_vista
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2199105 | 7 | Thomas Ng | P1 | Closed | Fixed | b64 |
This actually exposed another more serious problem in my DNS cached applet fix:
6594007: cached applets subject to DNS rebinding
When we write the cache entry to the disk, we do a InetAddress.getByName(hostname) to look up the IP of the codebase host. In the current implementation, if getByName throws UnknownHostException, the write to cache will fail and the applet cannot be loaded.
We should just catch and ignore the exception instead.
This will happen to machines where proxy is needed to access some special hosts. (e.g in our lab machines, you can only access Internet via proxy. So basically now in these lab machines, you cannot load any applets from the internet)
Office machines cannot be used to reproduce this problem, because we now have direct Internet access, and we can access both Intranet and Internet hosts without any proxy.
6594007: cached applets subject to DNS rebinding
When we write the cache entry to the disk, we do a InetAddress.getByName(hostname) to look up the IP of the codebase host. In the current implementation, if getByName throws UnknownHostException, the write to cache will fail and the applet cannot be loaded.
We should just catch and ignore the exception instead.
This will happen to machines where proxy is needed to access some special hosts. (e.g in our lab machines, you can only access Internet via proxy. So basically now in these lab machines, you cannot load any applets from the internet)
Office machines cannot be used to reproduce this problem, because we now have direct Internet access, and we can access both Intranet and Internet hosts without any proxy.
- backported by
-
JDK-2199105 6u3: applets and jnlp applications that requires proxy to load cannot be loaded
- Closed
- duplicates
-
JDK-6607614 6u3 plugin test fails on Windows Vista 32-bit
- Closed