Integrated: 8304161: Add TypeKind.from to derive from TypeDescriptor.OfField

Chen Liang liach at openjdk.org
Thu Mar 16 12:34:26 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.

This pull request has now been integrated.

Changeset: 7dbab81d
Author:    Chen Liang <liach at openjdk.org>
Committer: Jorn Vernee <jvernee at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7dbab81d3c06efb1225c4d57ad3eb4960fcf5cc6
Stats:     17 lines in 6 files changed: 10 ins; 0 del; 7 mod

8304161: Add TypeKind.from to derive from TypeDescriptor.OfField

Reviewed-by: jvernee

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

PR: https://git.openjdk.org/jdk/pull/13024


More information about the core-libs-dev mailing list