RFR: 8304443: bootcycle builds fail after JDK-8015831

Archie L. Cobbs duke at openjdk.org
Sat Mar 18 17:52:11 UTC 2023


The fix for JDK-8015831, which added the new `this-escape` lint warning, caused the build of the `bootcycle-images` make target to fail.

This commit adds the additional `@SuppressWarnings("this-escape")` annotations needed to fix it.

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

Commit messages:
 - Add @SuppressWarnings("this-escape") annotations needed by 'bootcycle' build.
 - Merge branch 'master' into ThisEscape
 - Relax warning to apply only if subclass could exist in another module/package.
 - Tweaks to man page.
 - Add YieldRef to Javadoc algorithm summary.
 - Document the this-escape lint option in the javac(1) man page.
 - Omit sealed classes when permitted subclasses are in the compilation unit.
 - Add assertion check for reuse of analyzer, which is unsupported.
 - Include assert detail expressions in the analysis.
 - Use more modern patterned instanceof instead of hasTag() + cast.
 - ... and 83 more: https://git.openjdk.org/jdk/compare/7503ecc0...28182104

Changes: https://git.openjdk.org/jdk/pull/13089/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13089&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8304443
  Stats: 74 lines in 63 files changed: 71 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/13089.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/13089/head:pull/13089

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


More information about the core-libs-dev mailing list