This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: JvThrow
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: JvThrow
- From: Per Bothner <per at bothner dot com>
- Date: 22 Mar 2001 19:27:27 -0800
- Cc: java at gcc dot gnu dot org
- References: <20010322185846.A5715@redhat.com>
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/