Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2046433 | 1.4.0 | Jean-Christophe Collet | P3 | Resolved | Fixed | beta3 |
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)
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)
- backported by
-
JDK-2046433 SOCKS protocol fails when used from an Applet
-
- Resolved
-