equal
deleted
inserted
replaced
26 * @bug 4190323 |
26 * @bug 4190323 |
27 * @summary EMPTY_SET, EMPTY_LIST, and the collections returned by |
27 * @summary EMPTY_SET, EMPTY_LIST, and the collections returned by |
28 * nCopies and singleton were spec'd to be serializable, but weren't. |
28 * nCopies and singleton were spec'd to be serializable, but weren't. |
29 */ |
29 */ |
30 |
30 |
31 import java.io.*; |
31 import java.io.ByteArrayInputStream; |
32 import java.util.*; |
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; |
33 |
38 |
34 public class Ser { |
39 public class Ser { |
35 public static void main(String[] args) throws Exception { |
40 public static void main(String[] args) throws Exception { |
36 |
41 |
37 try { |
42 try { |