equal
deleted
inserted
replaced
26 * @bug 4236533 4416923 |
26 * @bug 4236533 4416923 |
27 * @summary Tests to see that memory leak no longer exists. |
27 * @summary Tests to see that memory leak no longer exists. |
28 * @author Josh Bloch |
28 * @author Josh Bloch |
29 */ |
29 */ |
30 |
30 |
31 import java.util.*; |
31 import java.util.Iterator; |
|
32 import java.util.Map; |
|
33 import java.util.WeakHashMap; |
32 |
34 |
33 public class Iteration { |
35 public class Iteration { |
34 public static void main(String[] args) { |
36 public static void main(String[] args) { |
35 String s = "iatrogenic"; |
37 String s = "iatrogenic"; |
36 Map m = new WeakHashMap(); |
38 Map m = new WeakHashMap(); |