[jdk17u-dev] Integrated: 8272776: NullPointerException not reported
Alexey Pavlyutkin
duke at openjdk.org
Thu Sep 15 10:07:58 UTC 2022
On Wed, 14 Sep 2022 17:14:38 GMT, Alexey Pavlyutkin <duke at openjdk.org> wrote:
> Hi! Here is backport of [8272776](https://bugs.openjdk.org/browse/JDK-8272776) fixing absent NPE in the case of null switch with default. Original patch is applied cleanly
>
> Verification (amd64 / 20.04 LTS): test/langtools/tools/javac/patterns/NullSwitch.java (updated)
> Regression (amd64 / 20.04 LTS): test/langtools/tools/javac
This pull request has now been integrated.
Changeset: 6f6b0722
Author: Alexey Pavlyutkin <apavlyutkin at azul.com>
Committer: Yuri Nesterenko <yan at openjdk.org>
URL: https://git.openjdk.org/jdk17u-dev/commit/6f6b0722d7288b6fcaf30be44e8824b6a4889fef
Stats: 18 lines in 2 files changed: 14 ins; 1 del; 3 mod
8272776: NullPointerException not reported
Backport-of: 93eec9a103de7f4d9a87eac5b295c9a50702ee94
-------------
PR: https://git.openjdk.org/jdk17u-dev/pull/667
More information about the jdk-updates-dev
mailing list