/[classpath]/classpath/java/lang/System.java
ViewVC logotype

Diff of /classpath/java/lang/System.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by ericb, Tue Mar 26 06:19:38 2002 UTC revision 1.19 by ericb, Thu Apr 25 06:06:10 2002 UTC
# Line 476  public final class System Line 476  public final class System
476      SecurityManager sm = Runtime.securityManager; // Be thread-safe.      SecurityManager sm = Runtime.securityManager; // Be thread-safe.
477      if (sm != null)      if (sm != null)
478        sm.checkPropertyAccess(key);        sm.checkPropertyAccess(key);
479        else if (key.length() == 0)
480          throw new IllegalArgumentException("key can't be empty");
481      return properties.getProperty(key);      return properties.getProperty(key);
482    }    }
483    

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26