aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/security/VMAccessController.java
AgeCommit message (Collapse)AuthorFilesLines
2006-08-14Thread.java (accessControlState): New field.Gary Benson1-37/+18
2006-08-14 Gary Benson <gbenson@redhat.com> * 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. From-SVN: r116128
2006-08-10java-stack.h (GetAccessControlStack): Change return type.Gary Benson1-24/+13
2006-08-10 Gary Benson <gbenson@redhat.com> * 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. From-SVN: r116058
2006-08-09System.java (setSecurityManager): Javadoc fix.Gary Benson1-2/+0
2006-08-09 Gary Benson <gbenson@redhat.com> * java/lang/System.java (setSecurityManager): Javadoc fix. * java/security/VMAccessController.java (getContext): Comment fix. From-SVN: r116033
2006-08-07VMAccessController.java (pushContext, [...]): Use Thread.currentThread() to ↵Gary Benson1-10/+3
determine when we're bootstrapping. 2006-08-07 Gary Benson <gbenson@redhat.com> * java/security/VMAccessController.java (pushContext, popContext, getContext): Use Thread.currentThread() to determine when we're bootstrapping. (runtimeInitialized): Remove. * java/security/natVMAccessController.cc (runtimeInitialized): Remove. From-SVN: r115996
2006-07-28re PR libgcj/13604 (AccessController unfinished)Gary Benson1-0/+294
2006-07-28 Gary Benson <gbenson@redhat.com> 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. Co-Authored-By: Casey Marshall <csm@gnu.org> From-SVN: r115793