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

Guoxiong Li gli at openjdk.java.net
Mon Apr 26 15:11:52 UTC 2021


> 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

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3673/files
  - new: https://git.openjdk.java.net/jdk/pull/3673/files/5b298b32..dc6c3dd7

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3673&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3673&range=00-01

  Stats: 5 lines in 1 file changed: 0 ins; 2 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3673.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3673/head:pull/3673

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


More information about the compiler-dev mailing list