source: trunk/src/gcc/libjava/java/lang/EcosProcess.java@ 1213

Last change on this file since 1213 was 2, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.2 KB
Line 
1// EcosProcess.java - Subclass of Process for eCos systems.
2
3/* Copyright (C) 1998, 1999 Free Software Foundation
4
5 This file is part of libgcj.
6
7This software is copyrighted work licensed under the terms of the
8Libgcj License. Please consult the file "LIBGCJ_LICENSE" for
9details. */
10
11package java.lang;
12
13import java.io.InputStream;
14import java.io.OutputStream;
15import java.io.IOException;
16
17/**
18 * @author Tom Tromey <[email protected]>
19 * @date May 11, 1999
20 */
21
22// This is entirely internal to our implementation.
23
24// This file is copied to `ConcreteProcess.java' before compilation.
25// Hence the class name apparently does not match the file name.
26final class ConcreteProcess extends Process
27{
28 // See natEcosProcess.cc to understand why this is native.
29 public native void destroy ();
30
31 public int exitValue ()
32 {
33 return 0;
34 }
35 public InputStream getErrorStream ()
36 {
37 return null;
38 }
39
40 public InputStream getInputStream ()
41 {
42 return null;
43 }
44
45 public OutputStream getOutputStream ()
46 {
47 return null;
48 }
49
50 public int waitFor () throws InterruptedException
51 {
52 return 0;
53 }
54
55 public ConcreteProcess (String[] progarray, String[] envp) throws IOException
56 {
57 throw new IOException ("eCos processes unimplemented");
58 }
59}
Note: See TracBrowser for help on using the repository browser.