This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC 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]

java/8792: compiles, but compiled code does not work


>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:


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