JvThrow

Per Bothner per@bothner.com
Thu Mar 22 19:15:00 GMT 2001


Richard Henderson <rth@redhat.com> writes:

> What is the purpose of JvThrow?  Why isn't _Jv_Throw declared as
>   void _Jv_Throw(jthrowable) __attribute__((noreturn))
> instead of the current void* parameter?

Don't remember if there was a reason.

> Why, for that matter, aren't we simply using "throw", since the
> c++ compiler automatically calls _Jv_Throw for Java types?

Historical reasons, I think.
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/~per/



More information about the Java mailing list