RFR: 8057543: Replace javac's Filter with Predicate (and lambdas) [v3]

Guoxiong Li gli at openjdk.java.net
Thu Apr 22 16:04:51 UTC 2021


> Hi all,
> 
> This patch replaces javac's `Filter` with `Predicate` and sets `Filter` as `Deprecated`.
> Two existing tests failed and I fixed it.
> Currently, all the tests in `test/langtools` passed locally by using the following command.
> 
> 
> make test CONF=linux-x86_64-server-release JOBS=4 TEST=test/langtools/
> 
> 
> Thank you for taking the time to review.
> 
> Best Regards.

Guoxiong Li has updated the pull request incrementally with one additional commit since the last revision:

  Revert variabl names to modifier final

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/1898/files
  - new: https://git.openjdk.java.net/jdk/pull/1898/files/6ee2c890..6670a2e2

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

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

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


More information about the compiler-dev mailing list