diff options
Diffstat (limited to 'luni-kernel')
-rw-r--r-- | luni-kernel/src/main/java/java/lang/System.java | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/luni-kernel/src/main/java/java/lang/System.java b/luni-kernel/src/main/java/java/lang/System.java index b97a75a..aa78b1b 100644 --- a/luni-kernel/src/main/java/java/lang/System.java +++ b/luni-kernel/src/main/java/java/lang/System.java @@ -603,10 +603,14 @@ public final class System { } /** - * Sets the active security manager. Note that once the security manager has - * been set, it can not be changed. Attempts to do that will cause a + * <strong>Warning:</strong> security managers do <strong>not</strong> + * provide a secure environment for executing untrusted code. Untrusted code + * cannot be safely isolated within the Dalvik VM. + * + * <p>Sets the active security manager. Note that once the security manager + * has been set, it can not be changed. Attempts to do that will cause a * security exception. - * + * * @param sm * the new security manager. * @throws SecurityException |