RFR: 8343881: java.lang.classfile.Attribute attributeName() method should return Utf8Entry [v3]
Adam Sotona
asotona at openjdk.org
Thu Nov 14 17:12:56 UTC 2024
On Thu, 14 Nov 2024 17:04:55 GMT, Chen Liang <liach at openjdk.org> wrote:
>> Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
>>
>> more fixes
>
> test/langtools/tools/javap/T6716452.java line 73:
>
>> 71: error(mm + ": unexpected attribute found,"
>> 72: + " expected " + c.getName()
>> 73: + " found " + mm.attributes().get(index).attributeName());
>
> Is this one redundant?
Unfortunately no, toString includes Utf8Entry info.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22107#discussion_r1842605385
More information about the core-libs-dev
mailing list