This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [Patch] New throw test
- From: Andrew Haley <aph at redhat dot com>
- To: David Daney <ddaney at avtrex dot com>
- Cc: java-patches at gcc dot gnu dot org
- Date: Mon, 20 Nov 2006 18:11:45 +0000
- Subject: Re: [Patch] New throw test
- References: <454A7D8C.2020704@avtrex.com>
David Daney writes:
> I preperation for hacking on MIPS signal handling changes, I wrote this
> test.
>
> As indicated in the comments in the test, I am checking that unwinding
> is working properly if the very first instruction of a method faults.
> The test code does this for MIPS. But as far as I can tell, it is
> impossible to generate code that falults on the first instruction for
> i686 so the test passes there as well.
>
> In any event it was unclear if any existing test covered this case so I
> would like to add it.
>
> Manually tested on mipsel-linux and i686-pc-linux-gnu, Full make -k
> check in libjava running on i686-pc-linux-gnu.
>
> OK to commit if it passes?
>
> 2006-11-02 David Daney <ddaney@avtrex.com>
>
> * testsuite/libjava.lang/Throw_3.java: New Test.
> * testsuite/libjava.lang/Throw_3.out: Its expected output.
Yes, thanks.
Andrew.