# | Line 36 | Line 36 | import java.util.concurrent.atomic.*; | |
---|---|---|
36 | public class CopyInto { | |
37 | private static void realMain(String[] args) throws Throwable { | |
38 | try { | |
39 | < | Vector<String> v = new Vector<String>(); |
39 | > | Vector<String> v = new Vector<>(); |
40 | v.add("foo"); | |
41 | v.copyInto(new Integer[3]); | |
42 | fail("Expected ArrayStoreException"); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |