Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsboshev2008-02-26 17:06:55 +0000
committersboshev2008-02-26 17:06:55 +0000
commit5d189720b00588cdbbad6c563ca808a2e4d0c712 (patch)
treeb39526a821fdcf851c5e93f0a146baa201a566c6 /bundles/org.eclipse.equinox.util
parent497154c8d7dbf402dd57f16b2115bb879a7a852c (diff)
downloadrt.equinox.bundles-5d189720b00588cdbbad6c563ca808a2e4d0c712.tar.gz
rt.equinox.bundles-5d189720b00588cdbbad6c563ca808a2e4d0c712.tar.xz
rt.equinox.bundles-5d189720b00588cdbbad6c563ca808a2e4d0c712.zip
Bug 220397. [equinox.util] uses System.setProperty, not available on min EE
Diffstat (limited to 'bundles/org.eclipse.equinox.util')
-rw-r--r--bundles/org.eclipse.equinox.util/src/org/eclipse/equinox/internal/util/security/SecurityUtil.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.util/src/org/eclipse/equinox/internal/util/security/SecurityUtil.java b/bundles/org.eclipse.equinox.util/src/org/eclipse/equinox/internal/util/security/SecurityUtil.java
index f1061a0ef..fe62f1cc8 100644
--- a/bundles/org.eclipse.equinox.util/src/org/eclipse/equinox/internal/util/security/SecurityUtil.java
+++ b/bundles/org.eclipse.equinox.util/src/org/eclipse/equinox/internal/util/security/SecurityUtil.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 1997-2007 by ProSyst Software GmbH
+ * Copyright (c) 1997-2008 by ProSyst Software GmbH
* http://www.prosyst.com
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
@@ -701,7 +701,7 @@ public final class SecurityUtil implements PrivilegedRunner.PrivilegedDispatcher
case CLASS_FOR_NAME :
return Class.forName((String) arg1);
case SYSTEM_SET_PROPERTY :
- return System.setProperty((String) arg1, (String) arg2);
+ return System.getProperties().put(arg1, arg2);
case FILE_GET_INPUT_STREAM :
return new FileInputStream((File) arg1);
case FILE_GET_OUTPUT_STREAM :

Back to the top