rt/emul/compact/src/main/java/java/lang/System.java
changeset 1410 7a021349afec
parent 1362 b37e6e49d9d6
child 1416 a0a31f8f7dc1
     1.1 --- a/rt/emul/compact/src/main/java/java/lang/System.java	Wed Oct 09 22:26:24 2013 +0200
     1.2 +++ b/rt/emul/compact/src/main/java/java/lang/System.java	Thu Nov 07 09:44:51 2013 +0100
     1.3 @@ -21,6 +21,7 @@
     1.4  import java.io.ByteArrayOutputStream;
     1.5  import java.io.InputStream;
     1.6  import java.io.PrintStream;
     1.7 +import java.util.Properties;
     1.8  import org.apidesign.bck2brwsr.core.JavaScriptBody;
     1.9  
    1.10  /** Poor man's re-implementation of most important System methods.
    1.11 @@ -57,6 +58,14 @@
    1.12          return def;
    1.13      }
    1.14      
    1.15 +    public static Properties getProperties() {
    1.16 +        throw new SecurityException();
    1.17 +    }
    1.18 +    
    1.19 +    public static void setProperties(Properties p) {
    1.20 +        throw new SecurityException();
    1.21 +    }
    1.22 +    
    1.23      /**
    1.24       * Returns the system-dependent line separator string.  It always
    1.25       * returns the same value - the initial value of the {@linkplain