43053c2ff4d1ffdbf596c85e3c9c548f2cb28282
[cacao.git] / tests / TestArrayClasses.output
1 ok classname ref
2 ok classname primitive
3 ok arraylength primitive
4 ok arraylength ref
5 ok arraylength of saa2
6 ok arraylength of saa2[1]
7 ok arraylength of saaa
8 ok arraylength of saaa[0]
9 ok arraylength of saaa[0][1]
10 ok Object[].isArray
11 ok int[].isArray
12 ok !Object.isArray
13 ok !Object.isPrimitive
14 ok component ref
15 ok component ref !isPrimitive
16 ok component primitive
17 ok component primitive isPrimitive
18 ok component of String[][] equals String[]
19 ok component of String[][] !equals Object[]
20 ok saa[0].getClass equals component of String[][]
21     ArrayStoreException
22 ok !store Object in String[]
23 ok store String in String[]
24 ok store Object in Object[]
25 ok store String in Object[]
26 ok store String[] in Object[][]
27     ArrayStoreException
28 ok !store Object[] in String[][]
29 ok store String[] in java.io.Serializable[]
30 ok store String[] in Cloneable[]
31     ArrayStoreException
32 ok !store String[] in StringBuffer[][]
33 ok store Foo in Foo[]
34 ok store FooChild in Foo[]
35     ArrayStoreException
36 ok !store Foo in FooChild[]
37 ok store FooChild in FooChild[]
38 ok cast String[] to Object[]
39     ClassCastException
40 ok !cast Object[] to String[]
41 ok String[] instanceof String[]
42 ok String[] instanceof Object[]
43 ok Object[] !instanceof String[]
44 ok Object[] instanceof Object[]
45 ok Object[][] instanceof Object[]
46 ok String[][] instanceof Object[]
47 ok String[] instanceof java.io.Serializable
48 ok String[] instanceof java.lang.Cloneable
49 ok String[] instanceof java.lang.Object
50 ok saa[0] instanceof java.io.Serializable
51 ok saa[0] instanceof java.lang.Cloneable
52 ok saa[0] instanceof java.lang.Object
53 ok cloned int array length
54 ok cloned int array data
55 ok cloned Integer array length
56 ok cloned Integer array data
57 ok arraycopy primitive
58 ok arraycopy ref
59 ok arraycopy ref different classes
60 ok arraycopy Integer to Number
61     ArrayStoreException
62 ok !arraycopy Number to Integer