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:
parent
138ae41e4d
commit
b3a00d65b8
4 changed files with 25 additions and 0 deletions
|
@ -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
|
||||
|
|
BIN
libjava/testsuite/libjava.lang/Divide_2.jar
Normal file
BIN
libjava/testsuite/libjava.lang/Divide_2.jar
Normal file
Binary file not shown.
20
libjava/testsuite/libjava.lang/Divide_2.java
Normal file
20
libjava/testsuite/libjava.lang/Divide_2.java
Normal 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();
|
||||
}
|
||||
}
|
0
libjava/testsuite/libjava.lang/Divide_2.out
Normal file
0
libjava/testsuite/libjava.lang/Divide_2.out
Normal file
Loading…
Add table
Reference in a new issue