RFR: JDK-8325189: Enable this-escape javac warning in java.base [v3]

Joe Darcy darcy at openjdk.org
Wed Feb 7 20:08:18 UTC 2024


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

Joe Darcy has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:

 - Merge branch 'master' into JDK-8325189
 - Merge branch 'master' into JDK-8325189
 - JDK-8325189: Enable this-escape javac warning in java.base

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/17692/files
  - new: https://git.openjdk.org/jdk/pull/17692/files/e1d56388..bc6cdfc8

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17692&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17692&range=01-02

  Stats: 1057 lines in 91 files changed: 598 ins; 167 del; 292 mod
  Patch: https://git.openjdk.org/jdk/pull/17692.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17692/head:pull/17692

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


More information about the nio-dev mailing list