From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31181 invoked by alias); 3 Dec 2002 11:16:04 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 31114 invoked by uid 71); 3 Dec 2002 11:16:02 -0000 Resent-Date: 3 Dec 2002 11:16:02 -0000 Resent-Message-ID: <20021203111602.31113.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, java-prs@gcc.gnu.org, tromey@redhat.com Resent-Reply-To: gcc-gnats@gcc.gnu.org, martin_aliger@email.cz Received: (qmail 30958 invoked by uid 61); 3 Dec 2002 11:14:32 -0000 Message-Id: <20021203111432.30957.qmail@sources.redhat.com> Date: Tue, 03 Dec 2002 03:16:00 -0000 From: martin_aliger@email.cz Reply-To: martin_aliger@email.cz To: gcc-gnats@gcc.gnu.org Cc: tromey@redhat.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify: tromey@redhat.com Subject: java/8792: compiles, but compiled code does not work X-SW-Source: 2002-12/txt/msg00128.txt.bz2 List-Id: >Number: 8792 >Category: java >Synopsis: compiles, but compiled code does not work >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Dec 03 03:16:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: Martin Aliger martin_aliger@email.cz >Release: 3.2 (self compiled) >Organization: >Environment: Linux RH 7.1 Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) >Description: gcj- compiled program writes: (./a.out abc.doc) .-------. |abc.doc| .-------. POIFS const 0 POIFS const 1 0 Invalid header signature; read 2763311526040853058, expected -2226271756974174256 SUN'S java writes: .-------. |abc.doc| .-------. POIFS const 0 POIFS const 1 109 Invalid header signature; read 2763311526040853058, expected -2226271756974174256 109 is correct value. It is stored in constant field! >How-To-Repeat: compile attached sources with gcj (NO .class FILES !) with: gcj `cat list` run ./a.out abc.doc >Fix: >Release-Note: >Audit-Trail: >Unformatted: