source: trunk/gcc/libjava/testsuite/libjava.lang/G19990304_01.java

Last change on this file was 2, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 363 bytes
Line 
1public class G19990304_01
2{
3 public static void main (String[] args)
4 {
5 Object[] arrayObj = new String[3];
6 String[] arrayStr = new String[3];
7 try
8 {
9 System.out.println ("pass 1");
10 arrayObj[0] = arrayStr;
11 }
12 catch (RuntimeException e)
13 {
14 System.out.println ("RuntimeException");
15 }
16 System.out.println ("pass 2");
17 }
18}
Note: See TracBrowser for help on using the repository browser.