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

Applets accessing URLs trigger System property access exception in HttpClient

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.3.0
    • core-libs
    • None
    • generic
    • generic

      When an applet accesses a URL, such as the Animator applet demo loading its sound file, an AccessControlException: access denied (java.util.PropertyPermission http.keepAlive read) is throw when sun.net.www.http.HttpClient.getHttpKeepAliveSet(HttpClient.java: 182) tries to read the http.keepAlive system property.

      To test this, try:

        http://192.9.48.9/products/plugin/1.2.2/demos/applets/Animator/example1.html

      I ran into this on WinNT, IE 5.0, 1.3-I JRE and plug-in.

            shihliu Sharon Liu (Inactive)
            tballsunw Tom Ball (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: