equal
deleted
inserted
replaced
26 * |
26 * |
27 * @test |
27 * @test |
28 * @run |
28 * @run |
29 */ |
29 */ |
30 var l = new java.util.ArrayList(); |
30 var l = new java.util.ArrayList(); |
31 print("l.class.name=" + l.class.name) // Has "class" property like any POJO |
31 print("l.class.name=" + Java.typeName(l.class)) // Has "class" property like any POJO |
32 |
32 |
33 l.add("foo") |
33 l.add("foo") |
34 l.add("bar") |
34 l.add("bar") |
35 |
35 |
36 print("l.length=" + l.length) // doesn't work, returns undefined |
36 print("l.length=" + l.length) // doesn't work, returns undefined |