summaryrefslogtreecommitdiffstats
path: root/libjava/java/security/VMAccessController.java
Commit message (Collapse)AuthorAgeFilesLines
* Update Copyright years for files modified in 2010.jakub2011-01-031-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168438 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/46774: Create dynamic ProtectionDomain instances which check the ↵gandalf2010-12-161-7/+9
| | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167952 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-08-14 Gary Benson <gbenson@redhat.com>gary2006-08-141-37/+18
| | | | | | | | | | | | | | | * java/lang/Thread.java (accessControlState): New field. * java/security/VMAccessControlState.java: New file. * java/security/natVMAccessControlState.cc: Likewise. * java/security/VMAccessController.java (contexts, inGetContext): Removed. (pushContext, popContext, getContext): Use VMAccessControlState. * Makefile.am (nat_source_files): Updated. * sources.am, Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116128 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-08-10 Gary Benson <gbenson@redhat.com>gary2006-08-101-24/+13
| | | | | | | | | | | | | | | | | * include/java-stack.h (GetAccessControlStack): Change return type. * stacktrace.cc (accesscontrol_trace_fn): Record the number of Java frames encountered. (GetAccessControlStack): Return a flag indicating whether a call to doPrivileged was encountered rather than an array of method names. * java/security/natVMAccessController.cc (getStack): Change return type. * java/security/VMAccessController.java (getStack): Likewise. (getContext): Change to reflect the above. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116058 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-08-09 Gary Benson <gbenson@redhat.com>gary2006-08-091-2/+0
| | | | | | | | | * java/lang/System.java (setSecurityManager): Javadoc fix. * java/security/VMAccessController.java (getContext): Comment fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116033 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-08-07 Gary Benson <gbenson@redhat.com>gary2006-08-071-10/+3
| | | | | | | | | | | | | * java/security/VMAccessController.java (pushContext, popContext, getContext): Use Thread.currentThread() to determine when we're bootstrapping. (runtimeInitialized): Remove. * java/security/natVMAccessController.cc (runtimeInitialized): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115996 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-07-28 Gary Benson <gbenson@redhat.com>gary2006-07-281-0/+294
Casey Marshall <csm@gnu.org> PR libgcj/13604: * include/java-stack.h (GetClassMethodStack): Declare. * stacktrace.cc (GetClassMethodStack): New method. * java/security/AccessController.java: Removed. * java/security/VMAccessController.java: New file. * java/security/natVMAccessController.cc: Likewise. * Makefile.am (nat_source_files): Added the above. * sources.am, Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@115793 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud