Hi Matthias, this definitely makes sense. If 'data' is NULL, one should not access its fields, except a hard crash is desired... Reviewed. Don't forget to update the copyright year.
Best regards Christoph From: Baesken, Matthias Sent: Dienstag, 16. Mai 2017 11:05 To: core-libs-dev@openjdk.java.net Cc: Simonis, Volker <volker.simo...@sap.com>; Langer, Christoph <christoph.lan...@sap.com> Subject: [XS] JDK-8180413 : avoid accessing NULL in jdk.jdwp.agent Hello, could you please review this small change : http://cr.openjdk.java.net/~mbaesken/webrevs/8180413/ it fixes a number of places in jdk.jdwp.agent where in case of an error it is attempted to write to NULL . Bug : JDK-8180413 : avoid accessing NULL in jdk.jdwp.agent https://bugs.openjdk.java.net/browse/JDK-8180413 Best regards, Matthias