RFR: 8315541: Classfile API TypeAnnotation.TargetInfo factory methods accept null labels

Adam Sotona asotona at openjdk.org
Tue Sep 5 11:07:03 UTC 2023


This patch performs null checks in to refuse null labels in  TypeAnnotation.TargetInfo implementations.

Please review.

Thanks,
Adam

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

Commit messages:
 - 8315541: Classfile API TypeAnnotation.TargetInfo factory methods accept null labels

Changes: https://git.openjdk.org/jdk/pull/15565/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15565&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8315541
  Stats: 8 lines in 1 file changed: 6 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/15565.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15565/head:pull/15565

PR: https://git.openjdk.org/jdk/pull/15565


More information about the core-libs-dev mailing list