RFR: 8343881: java.lang.classfile.Attribute attributeName() method should return Utf8Entry [v3]
Adam Sotona
asotona at openjdk.org
Thu Nov 14 17:12:55 UTC 2024
> Class-File API usually expose names in a form of `java.lang.classfile.constantpool.Utf8Entry`. Unfortunately `java.lang.classfile.Attribute::attributeName` method was omitted during the API review and it returns inflated `String` value of the name.
>
> This patch changes return type of `java.lang.classfile.Attribute::attributeName` from `String` to `java.lang.classfile.constantpool.Utf8Entry`.
>
> Please review.
>
> Thanks,
> Adam
Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
more fixes
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/22107/files
- new: https://git.openjdk.org/jdk/pull/22107/files/6fb11386..e9dbf2c2
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=22107&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=22107&range=01-02
Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/22107.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/22107/head:pull/22107
PR: https://git.openjdk.org/jdk/pull/22107
More information about the core-libs-dev
mailing list