aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/lang/Win32Process.java
blob: 72911d2961b05f6b846deb362a5b453940b92d8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// Win32Process.java - Subclass of Process for Win32 systems.

/* Copyright (C) 2002  Free Software Foundation

   This file is part of libgcj.

This software is copyrighted work licensed under the terms of the
Libgcj License.  Please consult the file "LIBGCJ_LICENSE" for
details.  */

package java.lang;

import java.io.File;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.IOException;

/**
 * @author Adam Megacz
 * @date Feb 24, 2002
 */

// This is entirely internal to our implementation.

// NOTE: when this is implemented, we'll need to add
// HANDLE_FLAG_INHERIT in FileDescriptor and other places, to make
// sure that file descriptors aren't inherited by the child process.
// See _Jv_platform_close_on_exec.

// This file is copied to `ConcreteProcess.java' before compilation.
// Hence the class name apparently does not match the file name.
final class ConcreteProcess extends Process
{
  public void destroy ()
  {
    throw new Error("not implemented");
  }
  
  public int exitValue ()
  {
    throw new Error("not implemented");
  }

  public InputStream getErrorStream ()
  {
    throw new Error("not implemented");
  }

  public InputStream getInputStream ()
  {
    throw new Error("not implemented");
  }

  public OutputStream getOutputStream ()
  {
    throw new Error("not implemented");
  }

  public int waitFor () throws InterruptedException
  {
    throw new Error("not implemented");
  }

  public ConcreteProcess (String[] progarray,
                          String[] envp,
                          File dir)
    throws IOException
  {
    throw new IOException("not implemented");
  }

}