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

Guoxiong Li gli at openjdk.java.net
Mon Apr 26 14:44:49 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.code
> com.sun.tools.javac.comp
> com.sun.tools.javac.jvm
> com.sun.tools.javac.parser
> com.sun.tools.javac.processing
> 
> 
> 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:

  Refactor code style

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3674/files
  - new: https://git.openjdk.java.net/jdk/pull/3674/files/56970261..55de5a07

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

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

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


More information about the compiler-dev mailing list