21 |
|
* questions. |
22 |
|
*/ |
23 |
|
|
24 |
< |
/** |
24 |
> |
/* |
25 |
|
* @test |
26 |
|
* @bug 4190323 |
27 |
|
* @summary EMPTY_SET, EMPTY_LIST, and the collections returned by |
28 |
|
* nCopies and singleton were spec'd to be serializable, but weren't. |
29 |
|
*/ |
30 |
|
|
31 |
< |
import java.io.*; |
32 |
< |
import java.util.*; |
31 |
> |
import java.io.ByteArrayInputStream; |
32 |
> |
import java.io.ByteArrayOutputStream; |
33 |
> |
import java.io.ObjectInputStream; |
34 |
> |
import java.io.ObjectOutputStream; |
35 |
> |
import java.util.Collections; |
36 |
> |
import java.util.List; |
37 |
> |
import java.util.Set; |
38 |
|
|
39 |
|
public class Ser { |
40 |
|
public static void main(String[] args) throws Exception { |