On Sun, 25 Jun 2023 09:18:34 GMT, Chen Liang <li...@openjdk.org> wrote:

> This patch touches java.lang.reflect and java.lang.invoke packages. It 
> replaces instanceof + cast with pattern matching and updates  
> Array.newInstance().getClass() patterns with arrayType() for obtaining array 
> types of a class.

This pull request has now been integrated.

Changeset: 2bd4136b
Author:    Chen Liang <li...@openjdk.org>
Committer: Mandy Chung <mch...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/2bd4136bdb74599e358a22c83ffc685a2c0db4d2
Stats:     292 lines in 34 files changed: 0 ins; 81 del; 211 mod

8310849: Pattern matching for instanceof and arrayType cleanup in j.l.invoke 
and j.l.reflect

Reviewed-by: mchung, darcy

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

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

Reply via email to