# | Line 21 | Line 21 | |
---|---|---|
21 | * questions. | |
22 | */ | |
23 | ||
24 | < | /** |
24 | > | /* |
25 | * @test | |
26 | * @bug 5078378 | |
27 | * @summary REGRESSION: Some calls to Collections.binarySearch no longer compile | |
# | Line 30 | Line 30 | |
30 | * @compile T5078378.java | |
31 | * @compile/fail -Xlint:unchecked -Werror T5078378.java | |
32 | */ | |
33 | < | import java.util.*; |
33 | > | |
34 | > | import java.util.Collections; |
35 | > | import java.util.List; |
36 | ||
37 | class T5078378 { | |
38 | public static boolean contains(List l, Object o) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |