/[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.38.2.5 by gnu_andrew, Fri Jan 14 10:24:15 2005 UTC revision 1.38.2.6 by gnu_andrew, Sat Jan 15 17:01:53 2005 UTC
# Line 52  import java.util.PropertyPermission; Line 52  import java.util.PropertyPermission;
52   * general environment.  As such, all methods are static.   * general environment.  As such, all methods are static.
53   *   *
54   * @author John Keiser   * @author John Keiser
55   * @author Eric Blake <ebb9@email.byu.edu>   * @author Eric Blake (ebb9@email.byu.edu)
56   * @since 1.0   * @since 1.0
57   * @status still missing 1.4 functionality   * @status still missing 1.4 functionality
58   */   */
# Line 255  public final class System Line 255  public final class System
255     * other processes or files.  That should all be transparent to you,     * other processes or files.  That should all be transparent to you,
256     * however.     * however.
257     */     */
258     public static final InputStream in = VMSystem.makeStandardInputStream();    public static final InputStream in = VMSystem.makeStandardInputStream();
259    
260    /**    /**
261     * The standard output PrintStream.  This is assigned at startup and     * The standard output PrintStream.  This is assigned at startup and
# Line 267  public final class System Line 267  public final class System
267     * output to other processes or files.  That should all be transparent to     * output to other processes or files.  That should all be transparent to
268     * you, however.     * you, however.
269     */     */
270     public static final PrintStream out = VMSystem.makeStandardOutputStream();    public static final PrintStream out = VMSystem.makeStandardOutputStream();
271    
272    /**    /**
273     * The standard output PrintStream.  This is assigned at startup and     * The standard output PrintStream.  This is assigned at startup and
# Line 279  public final class System Line 279  public final class System
279     * output to other processes or files.  That should all be transparent to     * output to other processes or files.  That should all be transparent to
280     * you, however.     * you, however.
281     */     */
282     public static final PrintStream err = VMSystem.makeStandardErrorStream();    public static final PrintStream err = VMSystem.makeStandardErrorStream();
283    
284    /**    /**
285     * This class is uninstantiable.     * This class is uninstantiable.
# Line 354  public final class System Line 354  public final class System
354     * @param sm the new SecurityManager     * @param sm the new SecurityManager
355     * @throws SecurityException if permission is denied     * @throws SecurityException if permission is denied
356     */     */
357    public synchronized static void setSecurityManager(SecurityManager sm)    public static synchronized void setSecurityManager(SecurityManager sm)
358    {    {
359      // Implementation note: the field lives in Runtime because of bootstrap      // Implementation note: the field lives in Runtime because of bootstrap
360      // initialization issues. This method is synchronized so that no other      // initialization issues. This method is synchronized so that no other
# Line 386  public final class System Line 386  public final class System
386     * @return the current time     * @return the current time
387     * @see java.util.Date     * @see java.util.Date
388     */     */
389    public static long currentTimeMillis() {    public static long currentTimeMillis()
390        return VMSystem.currentTimeMillis();    {
391        return VMSystem.currentTimeMillis();
392    }    }
393    
394    /**    /**

Legend:
Removed from v.1.38.2.5  
changed lines
  Added in v.1.38.2.6

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