Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2004-12-07 12:53:28 +0300
committerjfrijters <jfrijters>2004-12-07 12:53:28 +0300
commitbd6b0a0aee72ce18e46ae385d687592ab6f1943b (patch)
treee5a37cd3ad3d9202dbf804bc45f70f2ea672c0f3 /classpath/java/lang/ExceptionHelper.java
parent4ac4d7e5e6993ffea7028caa80dfc0672cd73445 (diff)
*** empty log message ***
Diffstat (limited to 'classpath/java/lang/ExceptionHelper.java')
-rw-r--r--classpath/java/lang/ExceptionHelper.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/classpath/java/lang/ExceptionHelper.java b/classpath/java/lang/ExceptionHelper.java
index 3c545862..58490d8a 100644
--- a/classpath/java/lang/ExceptionHelper.java
+++ b/classpath/java/lang/ExceptionHelper.java
@@ -25,6 +25,7 @@ package java.lang;
import java.io.*;
import java.lang.reflect.*;
+import gnu.classpath.SystemProperties;
public final class ExceptionHelper
{
@@ -33,8 +34,7 @@ public final class ExceptionHelper
// able to distinguish it from a user specified blank string
private static final String NULL_STRING = new String();
private static final java.util.WeakHashMap exceptions = new java.util.WeakHashMap();
- // We access Runtime.defaultProperties directly, to prevent problems should an exception occur during library bootstrap
- private static final boolean cleanStackTrace = Runtime.defaultProperties.getProperty("ikvm.cleanstacktrace", "1").equals("1");
+ private static final boolean cleanStackTrace = SystemProperties.getProperty("ikvm.cleanstacktrace", "1").equals("1");
private static cli.System.Type System_Reflection_MethodBase = cli.System.Type.GetType("System.Reflection.MethodBase, mscorlib");
private static cli.System.Type System_Exception = cli.System.Type.GetType("System.Exception, mscorlib");