8042741: Java 8 compiler throws NullPointerException depending location in source fileReviewed-by: vromero, jlahoda