RFR: JDK-8304537: Ant-based langtools build fails after JDK-8015831 Add lint check for calling overridable methods from a constructor

Jan Lahoda jlahoda at openjdk.org
Mon Mar 20 16:19:22 UTC 2023


On Mon, 20 Mar 2023 14:50:01 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> `this-escape` lint is disabled for jdk.compiler, so it should be disabled for the ant-based langtools-only build as well.

Thanks, Archie.

So, I've:

 - added a few more @SuppressWarnings, as needed
 - removed the `this-escape` disablement from `jdk.compiler`, `jdk.jdeps` and `jdk.jshell` (because all cases should be suppressed using @SuppressWarnings, I hope)
 - removed the `this-escape` disablement from the langtools build config

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

PR: https://git.openjdk.org/jdk/pull/13102



More information about the build-dev mailing list