RFR: 8057543: Replace javac's Filter with Predicate (and lambdas) [v2]
Guoxiong Li
gli at openjdk.java.net
Wed Apr 21 15:33:00 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 with a new target base due to a merge or a rebase. The pull request now contains five commits:
- Remove file Filter.java
- Update copyright
- Merge branch 'master' into JDK-8057543
# Conflicts:
# src/jdk.compiler/share/classes/com/sun/tools/javac/parser/Tokens.java
- Add comments.
- 8057543: Replace javac's Filter with Predicate (and lambdas)
-------------
Changes: https://git.openjdk.java.net/jdk/pull/1898/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1898&range=01
Stats: 184 lines in 19 files changed: 17 ins; 44 del; 123 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