From 451ae3e4e7912c09c3b60c37c989e8651adb8e2c Mon Sep 17 00:00:00 2001 From: "Gary D. Gregory" Date: Thu, 23 Oct 2003 03:55:34 +0000 Subject: [PATCH] Added JAVA_ENDORSED_DIRS. git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137687 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/lang/SystemUtils.java | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/java/org/apache/commons/lang/SystemUtils.java b/src/java/org/apache/commons/lang/SystemUtils.java index 6679bc381..c22bbef14 100644 --- a/src/java/org/apache/commons/lang/SystemUtils.java +++ b/src/java/org/apache/commons/lang/SystemUtils.java @@ -69,7 +69,7 @@ * @author Tetsuya Kaneuchi * @author Rafal Krupinski * @since 1.0 - * @version $Id: SystemUtils.java,v 1.24 2003/10/07 20:59:46 scolebourne Exp $ + * @version $Id: SystemUtils.java,v 1.25 2003/10/23 03:55:34 ggregory Exp $ */ public class SystemUtils { @@ -132,6 +132,17 @@ public class SystemUtils { */ public static final String JAVA_COMPILER = getSystemProperty("java.compiler"); + /** + *

The java.endorsed.dirs System Property. Path of endorsed directory + * or directories.

+ * + *

Defaults to null if the runtime does not have + * security access to read this property or the property does not exist.

+ * + * @since Java 1.4 + */ + public static final String JAVA_ENDORSED_DIRS = getSystemProperty("java.endorsed.dirs"); + /** *

The java.ext.dirs System Property. Path of extension directory * or directories.

@@ -725,6 +736,7 @@ public class SystemUtils { * instance to operate.

*/ public SystemUtils() { + // no init. } //-----------------------------------------------------------------------