This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Wrong exception handler called?
- To: Per Bothner <per at bothner dot com>
- Subject: Re: Wrong exception handler called?
- From: "Gregory R. Warnes" <warnes at biostat dot washington dot edu>
- Date: Sat, 20 May 2000 21:08:55 +0000 (GMT)
- cc: java-discuss at sourceware dot cygnus dot com
On 20 May 2000, Per Bothner wrote:
PB>> "Gregory R. Warnes" <warnes@biostat.washington.edu> writes:
PB>>
PB>> > Using the GCC 2.95.2 with Bryce's patches I've experienced method calls
PB>> > being resolved to the wrong method. (Completely wrong method, IE wrong
PB>> > NAME, wrong number and type of parameters, wrong return value!) This too
PB>> > seemed to come and go as I rearranged the source or compiled from class
PB>> > files instead of java.
PB>>
PB>> That may happen if you change one file in a way that changes the
PB>> virtual function table (such as adding/removing non-static non-final
PB>> methods), and re-compile some but not all files.
Actually, all of the compiling was done using a single gcj statement with
*no* intermediate files. IE, something like
gcj -o output BIG.class LONG.class LIST.class OF.class FILES.class \
--main=BIG
Since the list of files is soo long, 820 files, I wondered if I was
overflowing an internal buffer somewhere...
-Greg