Fri, 05 Jul 2013 11:04:22 +0100
8016702: use of ternary operator in lambda expression gives incorrect results
Summary: Constant types erroneously creep in during inference
Reviewed-by: jjg, vromero
duke@1 | 1 | /* |
duke@1 | 2 | * @test |
duke@1 | 3 | * @bug 4053724 |
duke@1 | 4 | * @summary Certain non-ambiguous field references were reported by the |
duke@1 | 5 | * compiler as ambigous. |
duke@1 | 6 | * @author turnidge |
duke@1 | 7 | * |
vromero@1775 | 8 | * @compile one/Parent.java two/Child.java |
vromero@1775 | 9 | * @compile/fail one/Parent2.java two/Child2.java |
duke@1 | 10 | */ |