Wrong exception handler called?

Gregory R. Warnes warnes@biostat.washington.edu
Sat May 20 14:11:00 GMT 2000


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



More information about the Java mailing list