Wrong exception handler called?

Per Bothner per@bothner.com
Sat May 20 13:54:00 GMT 2000


"Gregory R. Warnes" <warnes@biostat.washington.edu> writes:
> Using the GCC 2.95.2 with Bryce's patches I've experienced method calls
> being resolved to the wrong method. (Completely wrong method, IE wrong
> NAME, wrong number and type of parameters, wrong return value!) This too
> seemed to come and go as I rearranged the source or compiled from class
> files instead of java.

That may happen if you change one file in a way that changes the
virtual function table (such as adding/removing non-static non-final
methods), and re-compile some but not all files.
It would be nice if we could figure out a way to give a linker error
in such cases, but I can't offhand think of a way that doesn't
require a modified linker.
-- 
	--Per Bothner
per@bothner.com http://www.bothner.com/~per/


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /