-
Enhancement
-
Resolution: Unresolved
-
P4
-
None
-
None
-
generic
-
generic
A DESCRIPTION OF THE PROBLEM :
Currently, several factory methods in `TemporaryConstantPool` throw `UnsupportedOperationException` instead of constructing the relevant `PoolEntry` objects, namely:
- `TemporaryConstantPool::methodTypeEntry(Utf8Entry)`
- `TemporaryConstantPool::methodTypeEntry(MethodTypeDesc)` (see also https://bugs.openjdk.org/browse/JI-9077893 )
- `TemporaryConstantPool::invokeDynamicEntry(int, MemberRefEntry)`
- `TemporaryConstantPool::constantDynamicEntry(BootstrapMethodEntry, NameAndTypeEntry)`
- `TemporaryConstantPool::bsmEntry(MethodHandleEntry, List<LoadableConstantEntry>)`
I propose to add implementations for those methods matching all the other factory methods in `TemporaryConstantPool`.
Currently, several factory methods in `TemporaryConstantPool` throw `UnsupportedOperationException` instead of constructing the relevant `PoolEntry` objects, namely:
- `TemporaryConstantPool::methodTypeEntry(Utf8Entry)`
- `TemporaryConstantPool::methodTypeEntry(MethodTypeDesc)` (see also https://bugs.openjdk.org/browse/JI-9077893 )
- `TemporaryConstantPool::invokeDynamicEntry(int, MemberRefEntry)`
- `TemporaryConstantPool::constantDynamicEntry(BootstrapMethodEntry, NameAndTypeEntry)`
- `TemporaryConstantPool::bsmEntry(MethodHandleEntry, List<LoadableConstantEntry>)`
I propose to add implementations for those methods matching all the other factory methods in `TemporaryConstantPool`.