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

SOCKS protocol fails when used from an Applet

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.1_02
    • 1.3.1, 1.4.0
    • core-libs
    • None
    • 02
    • generic, x86
    • generic, windows_nt

        When trying to connect through a Socks proxy from an applet the following exception occurs :

        java.security.AccessControlException: access denied (java.lang.RuntimePermission writeFileDescriptor)
                at java.security.AccessControlContext.checkPermission(AccessControlContext.java:273)
                at java.security.AccessController.checkPermission(AccessController.java:404)
                at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
                at java.lang.SecurityManager.checkWrite(SecurityManager.java:953)
                at java.io.FileOutputStream.<init>(FileOutputStream.java:204)
                at java.net.SocketOutputStream.<init>(SocketOutputStream.java:44)
                at java.net.PlainSocketImpl.getOutputStream(PlainSocketImpl.java:380)
                at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:306)
                at java.net.Socket.connect(Socket.java:430)
                at java.net.Socket.connect(Socket.java:379)
                at java.net.Socket.<init>(Socket.java:293)
                at java.net.Socket.<init>(Socket.java:121)
                at Applet4.start(Applet4.java:20)
                at sun.applet.AppletPanel.run(AppletPanel.java:358)
                at java.lang.Thread.run(Thread.java:539)

              jccollet Jean-Christophe Collet (Inactive)
              jccollet Jean-Christophe Collet (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: