Bug 5364 - .class files not being interpreted correctly
Summary: .class files not being interpreted correctly
Status: RESOLVED INVALID
Alias: None
Product: gcc
Classification: Unclassified
Component: java (show other bugs)
Version: 3.1
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-12 00:06 UTC by mkuruvil
Modified: 2005-07-23 22:49 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
gnu-rex-source.tar.gz (27.46 KB, application/x-gzip )
2003-05-21 15:17 UTC, mkuruvil
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mkuruvil 2002-01-12 00:06:00 UTC
 downloaded the gnu.rex package from the following website http://www.crocodile.org/~sts/Rex/ and ran the test program  using the command line option'java -test khadafy.inp'. and got the result a different result than the command line option './rxT -test khadafy.inp'. The difference between the two was that the former was compiled and executed using a JDK while the latter was executed using gcj. The problem appears to have the interpretation of the string "M[ou]\'?am+[ae]r .*\([AEae]l[- ]\)?[GKQ]h?[aeu]+\([dtz][dhz]?\)+af[iy]".

However, both executions were the same when if the gnu.rex java files were compiled with the corresponding compiler. gcj only has trouble reading the .class files generated by some other compiler.

Mathew

Release:
3.1

Environment:
Linux 2.4  Red Hat 7.1 intel Pentium 4
Comment 1 Tom Tromey 2002-01-12 14:06:59 UTC
From: Tom Tromey <tromey@redhat.com>
To: mkuruvil@yahoo.co.in
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: libgcj/5364: .class files not being interpreted correctly
Date: 12 Jan 2002 14:06:59 -0700

 >>>>> "Mathew" == mkuruvil  <mkuruvil@yahoo.co.in> writes:
 
 Mathew> However, both executions were the same when if the gnu.rex
 Mathew> java files were compiled with the corresponding compiler. gcj
 Mathew> only has trouble reading the .class files generated by some
 Mathew> other compiler.
 
 I looked at this a little bit.  `gij' gets the same results as `java',
 but a `gcj'-compiled executable gets different results.  So it looks
 like a compiler bug (and not a library problem or something like
 that).
 
 Tom
Comment 2 Dara Hazeghi 2003-05-25 03:47:07 UTC
Hello,

this bug was reported over a year ago. Is this issue still present with current versions of gcc (3.3)? 
Thanks,

Dara
Comment 3 mkuruvil 2003-05-25 03:55:43 UTC
Subject: Re: [Bug libgcj/5364] .class files not being interpreted correctly

I don't know :-)

Man!! 1 year is such a long time, though it may not
seem that long for some things (like where you were
etc.). 

But in the field of computers, that's a decade!!

I do remember reporting this problem. But I have not
tested it with the latest version of gcc. I remember
using gcc3.0 as well as the latest version at the time
that I reported it.

In any case, it seems straightforward to test it.

I might check it out in the next 3 weeks. No promises.
If I do, I'll let you know. I have no need for it now.

--- "dhazeghi@yahoo.com" <gcc-bugzilla@gcc.gnu.org>
wrote:
> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT*
> gcc-bugs@gcc.gnu.org.
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=5364
> 
> 
> 
> ------- Additional Comments From dhazeghi@yahoo.com 
> 2003-05-25 03:47 -------
> Hello,
> 
> this bug was reported over a year ago. Is this issue
> still present with current versions of gcc (3.3)? 
> Thanks,
> 
> Dara
> 
> 
> 
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
Comment 4 Andrew Pinski 2003-08-23 20:37:13 UTC
No feedback in 3 months (T-2 days).