-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 25
-
Component/s: core-libs
-
None
The methods java.lang.classfile.constantpool.ConstantPoolBuilder::loadableConstantEntry and constantValueEntry currently throw IllegalArgumentException for incoming null arguments. This is problematic because these factory methods are used to process nested constant descriptors, such as the List<ConstantDesc> for bsmEntry; it creates confusion when users see IAE but find it ultimately coming from nested nulls in lists.
- csr for
-
JDK-8361910 ConstantPoolBuilder::loadableConstantEntry and constantValueEntry should throw NPE
-
- Closed
-
- links to
-
Commit(master)
openjdk/jdk/0acd065b
-
Review(master)
openjdk/jdk/26257