Chromium changes: https://chromium.googlesource.com/chromium/src/+/7d3c16b9bb778a09b643288fe47bae4c1d8e53b7 commit 7d3c16b9bb778a09b643288fe47bae4c1d8e53b7 Author: Jingping Sun <jings@microsoft.com> Date: Mon Apr 27 10:58:12 2026 -0700 [Unchecked] Enable -Xlint:unchecked for Chromium-owned code Conditionally append -Xlint:unchecked to the base javac flags only when options.chromium_code is true. This makes javac fail the build on any new unchecked-conversion / heap-pollution / raw-type warnings in Chromium-owned Java code, while leaving synced third-party Java sources (chromium_code=false; auto-defaulted for third_party/ paths without org.chromium namespace) compiled silently as before. Why conditional, not global: Synced third-party Java code under third_party/{junit,google-truth}/ src/ contains unchecked-warning sites we cannot fix in chromium code base. Bug: 358366667 Change-Id: I904b09cd4484098cee3b59e6d4aae94eba8d33ae Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7790536 Commit-Queue: Andrew Grieve <agrieve@chromium.org> Reviewed-by: Peter Wen <wnwen@chromium.org> Commit-Queue: Jingping Sun <jings@microsoft.com> Reviewed-by: Andrew Grieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/main@{#1621171}