equal
deleted
inserted
replaced
26 * @bug 4312781 4881179 4949543 |
26 * @bug 4312781 4881179 4949543 |
27 * @summary Verify that both branches of a conditional expression must agree in type. |
27 * @summary Verify that both branches of a conditional expression must agree in type. |
28 * @author maddox |
28 * @author maddox |
29 * |
29 * |
30 * @compile/fail -source 1.4 ConditionalArgTypes_2.java |
30 * @compile/fail -source 1.4 ConditionalArgTypes_2.java |
31 * @compile -source 1.5 ConditionalArgTypes_2.java |
31 * @compile ConditionalArgTypes_2.java |
32 */ |
32 */ |
33 |
33 |
34 // This case was working before -- controlling expression is not a constant. |
34 // This case was working before -- controlling expression is not a constant. |
35 |
35 |
36 class ConditionalArgTypes_2 { |
36 class ConditionalArgTypes_2 { |