git: openjdk/jdk: 8293626: AccessFlag::locations(ClassFileFormatVersion cffv) does not throw NPEx when parameter is null

Joe Darcy darcy at openjdk.org
Tue Sep 13 16:53:22 UTC 2022


Changeset: 1dc5039f
Author:    Joe Darcy <darcy at openjdk.org>
Date:      2022-09-13 16:51:01 +0000
URL:       https://git.openjdk.org/jdk/commit/1dc5039fed9494f4d9b6c7002d28da9bc466fb10

8293626: AccessFlag::locations(ClassFileFormatVersion cffv) does not throw NPEx when parameter is null
8293627: AccessFlag::locations(ClassFileFormatVersion cffv) and locations() results are inconsistent

Reviewed-by: mchung

! src/java.base/share/classes/java/lang/reflect/AccessFlag.java
! test/jdk/java/lang/reflect/AccessFlag/BasicAccessFlagTest.java
! test/jdk/java/lang/reflect/AccessFlag/VersionedLocationsTest.java



More information about the jdk-changes mailing list