8042741: Java 8 compiler throws NullPointerException depending location in source file

Reviewed-by: vromero, jlahoda
3 files changed