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]

Patch: PR libgcj/18220


This is a testsuite bug. Process_3 waits forever if sed does not exist.

Tested with make check in libjava on gcc-4_0-branch i686-pc-linux-gnu. No regressions.

I also verified that it now exits quickly if the filter program does not exist.


2005-05-17 David Daney <ddaney@avtrex.com>


	PR libgcj/18220
	* testsuite/libjava.lang/Process_3.java (run):  Exit on error.

O.K. to commit to the branch and HEAD?

David Daney
Index: testsuite/libjava.lang/Process_3.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/testsuite/libjava.lang/Process_3.java,v
retrieving revision 1.1
diff -3 -u -p -r1.1 Process_3.java
--- testsuite/libjava.lang/Process_3.java	12 Aug 2004 16:24:56 -0000	1.1
+++ testsuite/libjava.lang/Process_3.java	17 May 2005 22:53:06 -0000
@@ -30,6 +30,7 @@ public class Process_3 implements Runnab
     catch (Exception ex)
       {
 	System.out.println(ex.toString());
+        System.exit(1);
       }
   }
 

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