On Tue, 14 Mar 2023 17:12:50 GMT, Chen Liang <[email protected]> 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 <[email protected]>
Committer: Jorn Vernee <[email protected]>
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

Reply via email to