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

Guoxiong Li gli at openjdk.java.net
Sun Apr 25 09:36:19 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.

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

Commit messages:
 - 8265900: Use pattern matching for instanceof at module jdk.compiler(part 2)

Changes: https://git.openjdk.java.net/jdk/pull/3674/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3674&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8265900
  Stats: 276 lines in 29 files changed: 0 ins; 73 del; 203 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