diff options
Diffstat (limited to 'libjava/testsuite/libjava.lang/Invoke_1.java')
-rw-r--r-- | libjava/testsuite/libjava.lang/Invoke_1.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/libjava/testsuite/libjava.lang/Invoke_1.java b/libjava/testsuite/libjava.lang/Invoke_1.java deleted file mode 100644 index bc467830..0000000 --- a/libjava/testsuite/libjava.lang/Invoke_1.java +++ /dev/null @@ -1,27 +0,0 @@ -// Test of failing method invocation. - -public class Invoke_1 -{ - public void call_me () - { - System.out.println ("no"); - } - - public static Invoke_1 get_i () - { - return null; - } - - public static void main (String[] args) - { - Invoke_1 i = get_i (); - try - { - i.call_me (); - } - catch (NullPointerException ok) - { - System.out.println ("ok"); - } - } -} |