This is the mail archive of the java@gcc.gnu.org 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: JvThrow


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/


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