bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/46775] [Classpath] Calling Policy.setPolicy with a new Po


From: gnu_andrew at member dot fsf.org
Subject: [Bug classpath/46775] [Classpath] Calling Policy.setPolicy with a new Policy object has no effect on the DefaultSecurityManager
Date: Fri, 3 Dec 2010 11:37:31 +0000

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46775

Andrew John Hughes <gnu_andrew at member dot fsf.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Andrew John Hughes <gnu_andrew at member dot fsf.org> 
2010-12-03 11:37:20 UTC ---
http://lists.gnu.org/archive/html/commit-classpath/2010-12/msg00000.html

CVSROOT:        /sources/classpath
Module name:    classpath
Changes by:     Andrew John Hughes <gnu_andrew> 10/12/03 01:02:05

Modified files:
        .              : ChangeLog 
        vm/reference/java/security: VMAccessController.java 

Log message:
        PR46775: Ensure use of setPolicy is reflected by the default 
SecurityManager.

        2010-12-02  Andrew John Hughes  <address@hidden>

                PR classpath/46775
                * vm/reference/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.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9804&r2=1.9805
http://cvs.savannah.gnu.org/viewcvs/classpath/vm/reference/java/security/VMAccessController.java?cvsroot=classpath&r1=1.8&r2=1.9



reply via email to

[Prev in Thread] Current Thread [Next in Thread]