1 // Test for an array assignment bug we've had.
2 
3 public class assign2
4 {
c()5   public static Object[][] c () { return new Long[5][5]; }
6 
d()7   public static Object[] d () { return new Integer[3]; }
8 
main(String[] args)9   public static void main(String[] args)
10   {
11     try
12       {
13 	Object[][] x = c();
14 	x[0] = d();
15       }
16     catch (ArrayStoreException _)
17       {
18 	System.out.println("good");
19       }
20   }
21 }
22