summaryrefslogtreecommitdiff
path: root/java/io/ObjectOutputStream.java
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2010-12-25 01:23:49 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2010-12-25 01:23:49 +0000
commite2d3135056d61448313e413b201697b3808f06ba (patch)
tree759d2be3176d906a060eff623b3ddc3aacfca0c7 /java/io/ObjectOutputStream.java
parent5d5a64d47af13bdbfb5f3ed69073f08a8020e492 (diff)
downloadclasspath-e2d3135056d61448313e413b201697b3808f06ba.tar.gz
Provide implies shortcut for ProtectionDomain instances with AllPermission.
2010-12-24 Andrew John Hughes <ahughes@redhat.com> * java/security/ProtectionDomain.java, (hasAllPermissions): Add new field. (ProtectionDomain(CodeSource,PermissionCollection, ClassLoader,Principal,boolean)): Check if permission collection includes AllPermission and, if so, set hasAllPermissions. (implies(Permission)): Immediately return true if hasAllPermissions is set.
Diffstat (limited to 'java/io/ObjectOutputStream.java')
0 files changed, 0 insertions, 0 deletions