Your message dated Sun, 24 Jun 2001 23:31:06 +0200 with message-id <[EMAIL PROTECTED]> and subject line fixed in gcj-3.0 has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Darren Benham (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 25 Nov 1999 08:09:45 +0000 Received: (qmail 25430 invoked from network); 25 Nov 1999 08:09:44 -0000 Received: from nefertiti.pasteur.fr (157.99.64.20) by master.debian.org with SMTP; 25 Nov 1999 08:09:44 -0000 Received: from ezili.sis.pasteur.fr (ezili.sis.pasteur.fr [157.99.60.56]) by nefertiti.pasteur.fr (8.10.0.Beta6/8.10.0.Beta6) with ESMTP id dAP89bL29204; Thu, 25 Nov 1999 09:09:37 +0100 (MET) Received: (from [EMAIL PROTECTED]) by ezili.sis.pasteur.fr (8.9.3/8.9.3/Debian 8.9.3-6) id JAA07227; Thu, 25 Nov 1999 09:09:44 +0100 Date: Thu, 25 Nov 1999 09:09:44 +0100 Message-Id: <[EMAIL PROTECTED]> From: Stephane Bortzmeyer <[EMAIL PROTECTED]> Subject: gcj: java.lang.OutOfMemoryError when doing Runtime.exec To: [EMAIL PROTECTED] X-Mailer: bug 3.2.6.1 Package: gcj Version: 1:2.95.2-2 Severity: normal A program which uses Runtime.exec works fine when compiled as bytecode but not when compiled as native code. Here is the program: import java.io.DataInputStream; import java.io.InputStream; public class Execute { public static void main (String []arguments) throws java.io.IOException { boolean over = false; String line; Runtime syst = Runtime.getRuntime (); Process p = syst.exec ("ls"); DataInputStream stdout = new DataInputStream (p.getInputStream ()); while (! over) { line = stdout.readLine (); if (line == null) { over = true; } else { System.out.println (line); } } } } Here is the output: 1) OK ezili:~/etudes/Java/essais> gcj -C Execute.java ezili:~/etudes/Java/essais> java Execute Execute.class Execute.java Execute.java~ a.out 2) Not OK ezili:~/etudes/Java/essais> gcj --main=Execute -o Execute Execute.java ezili:~/etudes/Java/essais> ./Execute java.lang.OutOfMemoryError -- System Information Debian Release: potato Kernel Version: Linux ezili 2.2.12 #2 Tue Sep 28 16:41:53 CEST 1999 i586 unknown Versions of the packages gcj depends on: ii gcc 2.95.2-2 The GNU C compiler. ii java-common 0.2 Base of all Java packages ii libc6 2.1.2-9 GNU C Library: Shared libraries and timezone ii libgcj0-dev 2.95.1-2 Java runtime library for use with gcj ii libgcj0-dev 2.95.1-2 Java runtime library for use with gcj ^^^ (Provides virtual package libgcj-dev) --------------------------------------- Received: (at 51227-done) by bugs.debian.org; 24 Jun 2001 21:33:05 +0000 >From [EMAIL PROTECTED] Sun Jun 24 16:33:05 2001 Return-path: <[EMAIL PROTECTED]> Received: from mail.cs.tu-berlin.de [::ffff:130.149.17.13] by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 15EHVB-0000CW-00; Sun, 24 Jun 2001 16:33:05 -0500 Received: from bolero.cs.tu-berlin.de ([EMAIL PROTECTED] [130.149.19.1]) by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id XAA15811; Sun, 24 Jun 2001 23:31:06 +0200 (MET DST) Received: (from [EMAIL PROTECTED]) by bolero.cs.tu-berlin.de (8.10.2+Sun/8.9.3) id f5OLV6G27710; Sun, 24 Jun 2001 23:31:06 +0200 (MEST) From: Matthias Klose <[EMAIL PROTECTED]> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <[EMAIL PROTECTED]> Date: Sun, 24 Jun 2001 23:31:06 +0200 To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: fixed in gcj-3.0 X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid Delivered-To: [EMAIL PROTECTED] The bugs in these reports are fixed in gcj-3.0. The final release of gcc-3.0 (including gcj-3.0) is currently available in the testing distribution. We plan to remove gcj-2.95 and libgcj-2.95.1 from testing and unstable.