throwit.out: Fixed output to be correct.
* libjava.jni/throwit.out: Fixed output to be correct. * libjava.jni/noclass.java (main): `find_it' throws an exception. From-SVN: r33291
This commit is contained in:
parent
1368ee700d
commit
dea4b2db61
|
@ -1,3 +1,9 @@
|
||||||
|
2000-04-20 Tom Tromey <tromey@cygnus.com>
|
||||||
|
|
||||||
|
* libjava.jni/throwit.out: Fixed output to be correct.
|
||||||
|
|
||||||
|
* libjava.jni/noclass.java (main): `find_it' throws an exception.
|
||||||
|
|
||||||
2000-04-16 Anthony Green <green@redhat.com>
|
2000-04-16 Anthony Green <green@redhat.com>
|
||||||
|
|
||||||
* libjava.compile/PR209.java: New file.
|
* libjava.compile/PR209.java: New file.
|
||||||
|
|
|
@ -11,8 +11,15 @@ public class noclass
|
||||||
|
|
||||||
public static void main (String[] args)
|
public static void main (String[] args)
|
||||||
{
|
{
|
||||||
find_it ();
|
try
|
||||||
// If find_it() causes a crash, we won't be running this next line.
|
{
|
||||||
System.out.println ("Ok");
|
find_it ();
|
||||||
|
}
|
||||||
|
catch (Throwable _)
|
||||||
|
{
|
||||||
|
// If find_it() causes a crash, or doesn't throw an exception,
|
||||||
|
// we won't be running this next line.
|
||||||
|
System.out.println ("Ok");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
class java.lang.UnknownError
|
class java.lang.UnknownError
|
||||||
the word is zardoz
|
|
||||||
class java.lang.Throwable
|
|
||||||
zardoz is the word
|
zardoz is the word
|
||||||
|
class java.lang.Throwable
|
||||||
|
the word is zardoz
|
||||||
|
|
Loading…
Reference in New Issue