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

Guoxiong Li github.com+13688759+lgxbslgx at openjdk.java.net
Sun Dec 27 15:38:54 UTC 2020

On Sun, 27 Dec 2020 14:54:16 GMT, Guoxiong Li <github.com+13688759+lgxbslgx at openjdk.org> wrote:

> 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.

More information and some similar issues:

These four issues were fixed in [this patch](https://github.com/openjdk/jdk/commit/c4e8276376676bda9aa4cb00b6d071fb70c21b85)

This issue was fixed in [this patch](https://github.com/openjdk/jdk/commit/582a4ebd92e60f95ae77d25eb00c6a146e727fab)

But their status are still `NEW`. It should be revised to `RESOLVED` or `CLOSED`.


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

More information about the compiler-dev mailing list