Retro68/gcc/libjava/testsuite/libjava.lang/G19990304_01.java

19 lines
363 B
Java
Raw Normal View History

2012-03-27 23:13:14 +00:00
public class G19990304_01
{
public static void main (String[] args)
{
Object[] arrayObj = new String[3];
String[] arrayStr = new String[3];
try
{
System.out.println ("pass 1");
arrayObj[0] = arrayStr;
}
catch (RuntimeException e)
{
System.out.println ("RuntimeException");
}
System.out.println ("pass 2");
}
}