This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


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

Re: Wrong exception handler called?



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


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