Integrated: 8256808: com/sun/jdi/CatchAllTest.java failed with "NullPointerException: Cannot invoke "lib.jdb.Jdb.log(String)" because "this.jdb" is null"

Alex Menkov amenkov at openjdk.java.net
Thu Dec 3 21:35:55 UTC 2020


On Wed, 25 Nov 2020 21:36:12 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> JdbTest can get exception before jdb field is initialized.
> As Jdb logging does not depend on the instance, made Jdb.log method static

This pull request has now been integrated.

Changeset: c5b32b33
Author:    Alex Menkov <amenkov at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/c5b32b33
Stats:     6 lines in 2 files changed: 0 ins; 0 del; 6 mod

8256808: com/sun/jdi/CatchAllTest.java failed with "NullPointerException: Cannot invoke "lib.jdb.Jdb.log(String)" because "this.jdb" is null"

Reviewed-by: cjplummer, sspitsyn

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

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


More information about the serviceability-dev mailing list