/[classpath]/classpath/gnu/java/security/provider/DefaultPolicy.java
ViewVC logotype

Diff of /classpath/gnu/java/security/provider/DefaultPolicy.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by cbj, Thu Mar 21 05:40:11 2002 UTC revision 1.4 by mark, Sun Jul 14 21:16:11 2002 UTC
# Line 1  Line 1 
1  /* DefaultPolicy.java  /* DefaultPolicy.java
2     Copyright (C) 2001 Free Software Foundation, Inc.     Copyright (C) 2001, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 47  import java.security.*; Line 47  import java.security.*;
47    */    */
48  public class DefaultPolicy extends Policy  public class DefaultPolicy extends Policy
49  {  {
   /*  
   static Permissions allPermissions = new Permissions();  
     
   static  
   {  
     allPermissions.add(new AllPermission());  
   }  
   */  
50    static Permission allPermission = new AllPermission();    static Permission allPermission = new AllPermission();
51    
52    public PermissionCollection getPermissions(CodeSource codesource)    public PermissionCollection getPermissions(CodeSource codesource)

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26