RFR: add use site null checks for fields [v8]
Maurizio Cimadamore
mcimadamore at openjdk.org
Tue Jan 20 14:22:51 UTC 2026
On Mon, 19 Jan 2026 20:26:36 GMT, Vicente Romero <vromero at openjdk.org> wrote:
>> generate null checks for field use sites depending on a compiler option, see also [1] which did a similar thing for method invocations
>>
>> [1] https://github.com/openjdk/valhalla/pull/1910
>
> Vicente Romero has updated the pull request incrementally with one additional commit since the last revision:
>
> minor change
Marked as reviewed by mcimadamore (Committer).
src/jdk.compiler/share/classes/com/sun/tools/javac/comp/NullChecksWriter.java line 94:
> 92:
> 93: Env<AttrContext> env;
> 94: Symbol.ClassSymbol currentClass;
Style: maybe import class symbol?
-------------
PR Review: https://git.openjdk.org/valhalla/pull/1926#pullrequestreview-3682434138
PR Review Comment: https://git.openjdk.org/valhalla/pull/1926#discussion_r2708563686
More information about the valhalla-dev
mailing list