This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

WIN-23: dummy class body for Win32Process.java



Committed as shown below.

  - a

2002-02-24  Adam Megacz  <adam@xwt.org>

        * java/lang/Win32Process.java: Created a dummy class to allow
        build process to run to completion.

Index: Win32Process.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/Win32Process.java,v
retrieving revision 1.1
diff -u -r1.1 Win32Process.java
--- Win32Process.java	2002/02/02 04:19:24	1.1
+++ Win32Process.java	2002/02/24 23:15:04
@@ -0,0 +1,63 @@
+// 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.InputStream;
+import java.io.OutputStream;
+import java.io.IOException;
+
+/**
+ * @author Adam Megacz
+ * @date Feb 24, 2002
+ */
+
+// This is entirely internal to our implementation.
+
+// 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) throws IOException
+  {
+    throw new Error("not implemented");
+  }
+
+}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]