21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @ignore 8013404: Test awaits spec clarification |
26 * @bug 8003280 8013404 |
27 * @bug 8003280 |
|
28 * @summary Add lambda tests |
27 * @summary Add lambda tests |
29 * check that target type of cast is propagated to conditional subexpressions |
28 * check that target type of cast is not propagated to conditional subexpressions |
30 * @compile TargetType36.java |
29 * @compile/fail/ref=TargetType36.out -XDrawDiagnostics TargetType36.java |
31 */ |
30 */ |
32 class TargetType36 { //awaits spec wording on cast vs. poly |
31 class TargetType36 { //awaits spec wording on cast vs. poly |
33 |
32 |
34 interface SAM { |
33 interface SAM { |
35 int m(int i, int j); |
34 int m(int i, int j); |