RFR: 8263926: JavacFileManager.hasExplicitLocation fails with NPE while compiling [v2]

Jonathan Gibbons jjg at openjdk.java.net
Fri Jun 18 21:08:37 UTC 2021


On Fri, 18 Jun 2021 16:26:57 GMT, Guoxiong Li <gli at openjdk.org> wrote:

> And about the null check, I want to keep it so that the compiler won't crash when meeting the situation like this bug.

If we believe that the null should not occur, it would be covering up a bug to provide the null check.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4523


More information about the compiler-dev mailing list