Security.java, [...]: Modified to use SystemProperties.

2005-04-26  Jeroen Frijters  <jeroen@frijters.net>

	* java/security/Security.java,
	java/security/cert/X509CRLSelector.java,
	java/security/cert/X509CertSelector.java:
	Modified to use SystemProperties.

From-SVN: r98764
This commit is contained in:
Jeroen Frijters 2005-04-26 05:22:12 +00:00 committed by Michael Koch
parent 57fc483297
commit a79f940af0
4 changed files with 14 additions and 13 deletions

View file

@ -38,7 +38,7 @@ exception statement from your version. */
package java.security;
import gnu.java.security.action.GetPropertyAction;
import gnu.classpath.SystemProperties;
import gnu.classpath.Configuration;
@ -71,10 +71,8 @@ public final class Security
static
{
GetPropertyAction getProp = new GetPropertyAction("gnu.classpath.home.url");
String base = (String) AccessController.doPrivileged(getProp);
getProp = new GetPropertyAction("gnu.classpath.vm.shortname");
String vendor = (String) AccessController.doPrivileged(getProp);
String base = SystemProperties.getProperty("gnu.classpath.home.url");
String vendor = SystemProperties.getProperty("gnu.classpath.vm.shortname");
// Try VM specific security file
boolean loaded = loadProviders (base, vendor);