<i18n dev> RFR: JDK-8325189: Enable this-escape javac warning in java.base

Alan Bateman alanb at openjdk.org
Sun Feb 4 06:58:03 UTC 2024


On Fri, 2 Feb 2024 23:36:41 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> After the "this-escape" lint warning was added to javac (JDK-8015831), the base module was not updated to be able to compile with this warning enabled. This PR makes the necessary changes to allow the base module to build with the warning enabled.

I skimmed through the use sites and don't see any issues. There is one bucket of escaping "this" that will go away once the support for running with the SM goes away.

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

Marked as reviewed by alanb (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/17692#pullrequestreview-1861282672


More information about the i18n-dev mailing list