2007-02-13 Andrew Haley <aph@redhat.com>

* testsuite/libjava.lang/Divide_2.out
	* testsuite/libjava.lang/Divide_2.java: New test.

From-SVN: r121887
This commit is contained in:
Andrew Haley 2007-02-13 18:25:47 +00:00 committed by Andrew Haley
parent 138ae41e4d
commit b3a00d65b8
4 changed files with 25 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2007-02-13 Andrew Haley <aph@redhat.com>
* testsuite/libjava.lang/Divide_2.out
* testsuite/libjava.lang/Divide_2.java: New test.
2007-02-12 Keith Seitz <keiths@redhat.com>
* jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast

Binary file not shown.

View file

@ -0,0 +1,20 @@
public class Divide_2
{
static void poo()
{
int n = 4/0;
}
public static void main(String[] argv)
{
try
{
poo();
}
catch (ArithmeticException _)
{
return;
}
throw new RuntimeException();
}
}