RFR: 8304161: Add TypeKind.from to derive from TypeDescriptor.OfField
Brian Goetz
briangoetz at openjdk.org
Wed Mar 15 21:29:19 UTC 2023
On Tue, 14 Mar 2023 17:12:50 GMT, Chen Liang <liach at openjdk.org> wrote:
> Such an API allows creating TypeKind from both Class and ClassDesc than having to call descriptorString() explicitly at every use site.
>
> See https://mail.openjdk.org/pipermail/classfile-api-dev/2023-March/000240.html for context.
>
> Upgraded usages of `fromDescriptor` to `from` in applicable use sites in Classfile API and its tests.
+1
-------------
PR: https://git.openjdk.org/jdk/pull/13024
More information about the core-libs-dev
mailing list