From f93c52f5652d57bfb619b8462e2f3347035b60cf Mon Sep 17 00:00:00 2001 From: aph Date: Tue, 13 Feb 2007 18:25:47 +0000 Subject: [PATCH] 2007-02-13 Andrew Haley * testsuite/libjava.lang/Divide_2.out * testsuite/libjava.lang/Divide_2.java: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121887 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/ChangeLog | 5 +++++ libjava/testsuite/libjava.lang/Divide_2.jar | Bin 0 -> 684 bytes libjava/testsuite/libjava.lang/Divide_2.java | 20 ++++++++++++++++++++ libjava/testsuite/libjava.lang/Divide_2.out | 0 4 files changed, 25 insertions(+) create mode 100644 libjava/testsuite/libjava.lang/Divide_2.jar create mode 100644 libjava/testsuite/libjava.lang/Divide_2.java create mode 100644 libjava/testsuite/libjava.lang/Divide_2.out diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 340d74c..9a53848 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2007-02-13 Andrew Haley + + * testsuite/libjava.lang/Divide_2.out + * testsuite/libjava.lang/Divide_2.java: New test. + 2007-02-12 Keith Seitz * jvmti.cc (_Jv_JVMTI_GetStackTrace): Remove cast diff --git a/libjava/testsuite/libjava.lang/Divide_2.jar b/libjava/testsuite/libjava.lang/Divide_2.jar new file mode 100644 index 0000000000000000000000000000000000000000..f16e8e6fcf88c3aa5b43a33194dd974b042fa3e3 GIT binary patch literal 684 zcmWIWW@h1H0D<$9e9gcND8UJ&eO*Hwbv^yu^aD_o?a<9l)B#F^un4j;Uq?SrH`m}0 zJzqE9#JtS3)Z!A|u+*aB%=|nn1w%apF6W}u#FEq$U8hPb1p_@xBi;1mWG*h4=^PAa zfsQzn$`EJ3$iT23i1~n~yJVJSrliIj=_ThR78kot@by0IAkcO{ci*fTw=J)dK|OM-FSYv8a?DQxuM51 zgXe4GgghQkFBO6A@w zUCykJQ`#4xG?CBdhS)cWS*j)TxW391t1hbVJ1D7k+T_u7CFw=qzOQ?{hD-O=a>Zz= zR1*u=Za?2!l5dY)WV>prn&N!%jO(wtIfs~X7fzCvm}VwFeZ}O{Y$Z&&J64ER%>Q!c zNcG`w+C3kCG2c7P_Ah*0mdkrFKD(<*`5}u>S($!)nKpk5m(>0MZ$>6A2Ha5$3}7UH x6yd1a(4!ooM;*w7YePx^2#c{tE5d|UAQLr`1H4(;K=RB$xD`l01SSOr1^~Sb*FXRO literal 0 HcmV?d00001 diff --git a/libjava/testsuite/libjava.lang/Divide_2.java b/libjava/testsuite/libjava.lang/Divide_2.java new file mode 100644 index 0000000..6f2bac8 --- /dev/null +++ b/libjava/testsuite/libjava.lang/Divide_2.java @@ -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(); + } +} diff --git a/libjava/testsuite/libjava.lang/Divide_2.out b/libjava/testsuite/libjava.lang/Divide_2.out new file mode 100644 index 0000000..e69de29 -- 2.7.4