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:18:02 UTC 2023


On Wed, 8 Nov 2023 12:09:57 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:

>> test/jdk/java/lang/invoke/condy/CondyNameValidationTest.java line 72:
>> 
>>> 70:         return Stream.of("<clinit>",
>>> 71:                          "<init>",
>>> 72:                          "<foo>")
>> 
>> Isn't this reducing the test cases?
>
> `<foo>` is not a valid name for dynamic constant.

You can see `java.lang.constant.ConstantUtils.validateMemberName`

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16268#discussion_r1386523308


More information about the core-libs-dev mailing list