mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-26 19:10:10 +08:00
19 lines
363 B
Java
19 lines
363 B
Java
|
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");
|
||
|
}
|
||
|
}
|