java/8792: compiles, but compiled code does not work
martin_aliger@email.cz
martin_aliger@email.cz
Tue Dec 3 03:16:00 GMT 2002
>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:
More information about the Java-prs
mailing list