Only look at the line number for errors and warnings.
Fix suppressing diagnostic messages during resolution in #java8 #val
Removed blanks