test/jdk/java/util/Vector/CopyInto.java
changeset 48541 946e34c2dec9
parent 47216 71c04702a3d5
equal deleted inserted replaced
48540:221cf8307606 48541:946e34c2dec9
    26  * @bug 4936876
    26  * @bug 4936876
    27  * @summary Vector.copyInto should throw ArrayStoreException
    27  * @summary Vector.copyInto should throw ArrayStoreException
    28  * @author Martin Buchholz
    28  * @author Martin Buchholz
    29  */
    29  */
    30 
    30 
    31 import java.io.*;
    31 import java.util.Vector;
    32 import java.util.*;
       
    33 import java.util.concurrent.*;
       
    34 import java.util.concurrent.atomic.*;
       
    35 
    32 
    36 public class CopyInto {
    33 public class CopyInto {
    37     private static void realMain(String[] args) throws Throwable {
    34     private static void realMain(String[] args) throws Throwable {
    38         try {
    35         try {
    39             Vector<String> v = new Vector<>();
    36             Vector<String> v = new Vector<>();