RFR: 8294980: test/jdk/java/lang/invoke 15 test classes use experimental bytecode library [v5]
Mourad Abbay
mabbay at openjdk.org
Wed Nov 8 12:32:03 UTC 2023
On Wed, 8 Nov 2023 12:15:13 GMT, Adam Sotona <asotona at openjdk.org> wrote:
>> You can see `java.lang.constant.ConstantUtils.validateMemberName`
>
> So how is it possible that `testValidNames` has been passing with the name?
> Conversion should not change the tested subjects.
I think the old experimental library wasn't validating constant name. In the new library, constant name is validated in the constructor of `DynamicConstantDesc`
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16268#discussion_r1386537459
More information about the core-libs-dev
mailing list