RFR: 8265901: Use pattern matching for instanceof at module jdk.compiler(part 3)

Guoxiong Li gli at openjdk.java.net
Sun Apr 25 09:35:05 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 only revises the package `com.sun.tools.sjavac`.

Thank you for taking the time to review.

--
Best Regards,
Guoxiong.

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

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

Changes: https://git.openjdk.java.net/jdk/pull/3675/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3675&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8265901
  Stats: 45 lines in 9 files changed: 0 ins; 5 del; 40 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3675.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3675/head:pull/3675

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


More information about the compiler-dev mailing list