/[classpath]/classpath/java/security/Security.java
ViewVC logotype

Diff of /classpath/java/security/Security.java

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

revision 1.30.2.1 by gnu_andrew, Sat Jan 15 17:02:08 2005 UTC revision 1.30.2.2 by gnu_andrew, Sun Jan 16 15:15:12 2005 UTC
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38    
39  package java.security;  package java.security;
40    
41  import gnu.java.security.action.GetPropertyAction;  import gnu.classpath.SystemProperties;
42    
43  import java.io.IOException;  import java.io.IOException;
44  import java.io.InputStream;  import java.io.InputStream;
# Line 69  public final class Security Line 69  public final class Security
69        
70    static    static
71      {      {
72        GetPropertyAction getProp = new GetPropertyAction("gnu.classpath.home.url");        String base = SystemProperties.getProperty("gnu.classpath.home.url");
73        String base = (String) AccessController.doPrivileged(getProp);        String vendor = SystemProperties.getProperty("gnu.classpath.vm.shortname");
       getProp = new GetPropertyAction("gnu.classpath.vm.shortname");  
       String vendor = (String) AccessController.doPrivileged(getProp);  
74    
75        // Try VM specific security file        // Try VM specific security file
76        boolean loaded = loadProviders (base, vendor);        boolean loaded = loadProviders (base, vendor);

Legend:
Removed from v.1.30.2.1  
changed lines
  Added in v.1.30.2.2

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