Wed, 01 Sep 2010 03:19:16 -0700
6979683: inconsistent interaction of reference cast with box/unbox conversions leaves out a useful case
Summary: Allow casts which narrow and then unbox.
Reviewed-by: mcimadamore
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 | * |
duke@1 | 8 | * @compile -nowrite one/Parent.java two/Child.java |
duke@1 | 9 | * @compile -nowrite one/Parent2.java two/Child2.java |
duke@1 | 10 | */ |