RFR: Generate missing null checks [v2]

Vicente Romero vromero at openjdk.org
Fri Jan 9 16:39:20 UTC 2026


On Fri, 9 Jan 2026 16:15:39 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> Vicente Romero has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   record patterns
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/comp/NullChecksWriter.java line 197:
> 
>> 195: 
>> 196:     @Override
>> 197:     public void visitLetExpr(LetExpr tree) {
> 
> Why is this needed? Isn't this the default behavior?

it was there for the pattern matching but removed it after our discussion, I forgot to update the PR, done

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/1867#discussion_r2676852038


More information about the valhalla-dev mailing list