source: trunk/gcc/libjava/testsuite/libjava.lang/ArrayStore2.java@ 3127

Last change on this file since 3127 was 2, checked in by bird, 23 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: 445 bytes
Line 
1public class ArrayStore2
2{
3 public static void main(String[] args)
4 {
5 new ArrayStore2().a(new Object[2], 3);
6 }
7
8 void a(Object[] oa, int i)
9 {
10 try
11 {
12 oa[index()] = obj();
13 }
14 catch (Exception x)
15 {
16 System.out.println (x.getClass().getName());
17 }