Javac should recommend diamond usage if that could lead to a change in program behavior. Reviewed-by: mcimadamore
Reviewed-by: mcimadamore
Allow diamond inference in combination with anonymous class instance creation Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com> Reviewed-by: mcimadamore, vromero