[Bug libgcj/46774] [gcj] Calling Policy.setPolicy with a new Policy object has no effect on the DefaultSecurityManager
gandalf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 16 19:48:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46774
--- Comment #2 from gandalf at gcc dot gnu.org <gandalf at gcc dot gnu.org> 2010-12-16 19:48:12 UTC ---
Author: gandalf
Date: Thu Dec 16 19:48:07 2010
New Revision: 167952
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=167952
Log:
PR libgcj/46774: Create dynamic ProtectionDomain instances which check the
system policy.
2010-12-13 Andrew John Hughes <ahughes@redhat.com>
PR libgcj/46774
* libjava/java/security/VMAccessController.java:
(DEFAULT_CONTEXT): Create ProtectionDomain with
four argument constructor (arguments are the same
as those implied by the two argument constructor).
(getContext()): Create ProtectionDomain instances
with four argument constructor using a null Principal
array (as before) but including the classloader, which
was always null before.
Modified:
trunk/libjava/ChangeLog
trunk/libjava/classpath/lib/java/security/VMAccessController.class
trunk/libjava/java/security/VMAccessController.java
More information about the Java-prs
mailing list