RFR: 8265899: Use pattern matching for instanceof at module jdk.compiler(part 1) [v2]

Maurizio Cimadamore mcimadamore at openjdk.java.net
Mon Apr 26 17:25:07 UTC 2021


On Mon, 26 Apr 2021 15:11:52 GMT, Guoxiong Li <gli at openjdk.org> wrote:

>> Hi all,
>> 
>> This series of patches update the code of the module jdk.compiler by using the pattern matching for instanceof.
>> 
>> This patch would revise the following packages:
>> 
>> com.sun.tools.javac.api
>> com.sun.tools.javac.file
>> com.sun.tools.javac.main
>> com.sun.tools.javac.model
>> com.sun.tools.javac.platform
>> com.sun.tools.javac.tree
>> com.sun.tools.javac.util
>> 
>> 
>> Thank you for taking the time to review.
>> 
>> --
>> Best Regards,
>> Guoxiong.
>
> Guoxiong Li has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Cleanup method JavacScope.equals

Looks good

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

Marked as reviewed by mcimadamore (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/3673


More information about the compiler-dev mailing list