home *** CD-ROM | disk | FTP | other *** search
- package opera;
-
- import java.net.InetAddress;
- import java.net.SocketPermission;
- import java.net.UnknownHostException;
- import java.security.PermissionCollection;
- import java.security.PrivilegedAction;
-
- class LiveConnectPrivilegedActions$1 implements PrivilegedAction {
- // $FF: synthetic field
- private final PermissionCollection val$permColl;
-
- LiveConnectPrivilegedActions$1(PermissionCollection var1) {
- this.val$permColl = var1;
- }
-
- public Object run() {
- try {
- String var1 = InetAddress.getLocalHost().getHostName();
- this.val$permColl.add(new SocketPermission(var1, "connect,accept"));
- } catch (UnknownHostException var2) {
- }
-
- return null;
- }
- }
-