Why is this lambda illegal? - Java Community | Help. Code. Learn.