RFR: 8317868: Add @sealedGraph to MethodHandleDesc and descendants [v2]
Per Minborg
pminborg at openjdk.org
Wed Oct 11 11:18:45 UTC 2023
On Wed, 11 Oct 2023 07:57:11 GMT, Chen Liang <liach at openjdk.org> wrote:
>> Per Minborg has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - Update copyright year
>> - Revoke change in DMHD
>
> src/java.base/share/classes/java/lang/constant/DirectMethodHandleDesc.java line 49:
>
>> 47: * a {@code Constant_MethodHandle_info} entry in the constant pool of a classfile.
>> 48: *
>> 49: * @sealedGraph
>
> DMH desc has no public implementation subtypes. A `@sealedGraph` would probably just render a single root node, which is not informative.
Well spotted. Thanks.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16137#discussion_r1354763919
More information about the core-libs-dev
mailing list