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; |
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); |