/[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.40 by tromey, Tue Sep 28 21:44:08 2004 UTC revision 1.41 by mkoch, Wed Oct 13 08:24:05 2004 UTC
# Line 36  this exception to your version of the li Line 36  this exception to your version of the li
36  obligated to do so.  If you do not wish to do so, delete this  obligated to do so.  If you do not wish to do so, delete this
37  exception statement from your version. */  exception statement from your version. */
38    
   
39  package java.lang;  package java.lang;
40    
41  import gnu.classpath.Configuration;  import gnu.classpath.Configuration;
   
42  import java.io.InputStream;  import java.io.InputStream;
43  import java.io.PrintStream;  import java.io.PrintStream;
44  import java.util.Properties;  import java.util.Properties;
# Line 51  import java.util.PropertyPermission; Line 49  import java.util.PropertyPermission;
49   * general environment.  As such, all methods are static.   * general environment.  As such, all methods are static.
50   *   *
51   * @author John Keiser   * @author John Keiser
52   * @author Eric Blake <ebb9@email.byu.edu>   * @author Eric Blake (ebb9@email.byu.edu)
53   * @since 1.0   * @since 1.0
54   * @status still missing 1.4 functionality   * @status still missing 1.4 functionality
55   */   */
# Line 254  public final class System Line 252  public final class System
252     * other processes or files.  That should all be transparent to you,     * other processes or files.  That should all be transparent to you,
253     * however.     * however.
254     */     */
255     public static final InputStream in = VMSystem.makeStandardInputStream();    public static final InputStream in = VMSystem.makeStandardInputStream();
256    
257    /**    /**
258     * The standard output PrintStream.  This is assigned at startup and     * The standard output PrintStream.  This is assigned at startup and
# Line 266  public final class System Line 264  public final class System
264     * output to other processes or files.  That should all be transparent to     * output to other processes or files.  That should all be transparent to
265     * you, however.     * you, however.
266     */     */
267     public static final PrintStream out = VMSystem.makeStandardOutputStream();    public static final PrintStream out = VMSystem.makeStandardOutputStream();
268    
269    /**    /**
270     * The standard output PrintStream.  This is assigned at startup and     * The standard output PrintStream.  This is assigned at startup and
# Line 278  public final class System Line 276  public final class System
276     * output to other processes or files.  That should all be transparent to     * output to other processes or files.  That should all be transparent to
277     * you, however.     * you, however.
278     */     */
279     public static final PrintStream err = VMSystem.makeStandardErrorStream();    public static final PrintStream err = VMSystem.makeStandardErrorStream();
280    
281    /**    /**
282     * This class is uninstantiable.     * This class is uninstantiable.
# Line 353  public final class System Line 351  public final class System
351     * @param sm the new SecurityManager     * @param sm the new SecurityManager
352     * @throws SecurityException if permission is denied     * @throws SecurityException if permission is denied
353     */     */
354    public synchronized static void setSecurityManager(SecurityManager sm)    public static synchronized void setSecurityManager(SecurityManager sm)
355    {    {
356      // Implementation note: the field lives in Runtime because of bootstrap      // Implementation note: the field lives in Runtime because of bootstrap
357      // initialization issues. This method is synchronized so that no other      // initialization issues. This method is synchronized so that no other
# Line 385  public final class System Line 383  public final class System
383     * @return the current time     * @return the current time
384     * @see java.util.Date     * @see java.util.Date
385     */     */
386    public static long currentTimeMillis() {    public static long currentTimeMillis()
387        return VMSystem.currentTimeMillis();    {
388        return VMSystem.currentTimeMillis();
389    }    }
390    
391    /**    /**

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41

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