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] - Rev 765

Compare with Previous | Blame | View Log

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");
  }
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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