ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/jtreg/util/Vector/CopyInto.java
(Generate patch)

Comparing jsr166/src/test/jtreg/util/Vector/CopyInto.java (file contents):
Revision 1.2 by jsr166, Sun Sep 5 21:32:20 2010 UTC vs.
Revision 1.3 by jsr166, Wed Jan 4 04:46:19 2017 UTC

# 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");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines