[jdk16] Integrated: JDK-8241353: NPE in ToolProvider.getSystemJavaCompiler

Jonathan Gibbons jjg at openjdk.java.net
Wed Dec 16 22:25:00 UTC 2020


On Wed, 16 Dec 2020 00:46:38 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:

> Trivial fix to avoid NPE by using `Objects.equals` instead of direct `String.equals`

This pull request has now been integrated.

Changeset: 6b4b6765
Author:    Jonathan Gibbons <jjg at openjdk.org>
URL:       https://git.openjdk.java.net/jdk16/commit/6b4b6765
Stats:     4 lines in 1 file changed: 0 ins; 1 del; 3 mod

8241353: NPE in ToolProvider.getSystemJavaCompiler

Reviewed-by: vromero

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

PR: https://git.openjdk.java.net/jdk16/pull/32


More information about the compiler-dev mailing list