* Merged gcj-abi-2-dev-branch to trunk.
(Actual changes too large to list in the commit message; see ChangeLog.) From-SVN: r91270
This commit is contained in:
parent
ec0641f612
commit
367390404d
70 changed files with 11301 additions and 3355 deletions
|
@ -324,7 +324,7 @@ public class SecurityManager
|
|||
public void checkPermission(Permission perm)
|
||||
{
|
||||
// XXX Should be: AccessController.checkPermission(perm);
|
||||
throw new SecurityException("Operation not allowed");
|
||||
//.throw new SecurityException("Operation not allowed");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -553,7 +553,7 @@ public class SecurityManager
|
|||
// throw new SecurityException("Missing context");
|
||||
// AccessControlContext ac = (AccessControlContext) context;
|
||||
// ac.checkPermission(new FilePermission(filename, "read"));
|
||||
throw new SecurityException("Cannot read files via file names.");
|
||||
// throw new SecurityException("Cannot read files via file names.");
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -677,7 +677,7 @@ public class SecurityManager
|
|||
// // Use the toString() hack to do the null check.
|
||||
// ac.checkPermission(new SocketPermission(host.toString + ":" +port,
|
||||
// "connect"));
|
||||
throw new SecurityException("Cannot make network connections.");
|
||||
// throw new SecurityException("Cannot make network connections.");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue