Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6608640

6u3: applets and jnlp applications that requires proxy to load cannot be loaded

XMLWordPrintable

    • b01
    • 6u3
    • b05
    • generic, x86
    • generic, windows_xp, windows_vista

        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.

              ngthomas Thomas Ng (Inactive)
              ngthomas Thomas Ng (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: