OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.lang/] [G19990304_01.java] - Blame information for rev 772

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
public 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.