RFR: Remove redundant null checks [v10]

Vicente Romero vromero at openjdk.org
Tue Feb 3 02:59:28 UTC 2026


On Tue, 3 Feb 2026 02:40:09 GMT, Vicente Romero <vromero at openjdk.org> wrote:

>> some of the null checks javac generates are redundant and can be removed
>
> Vicente Romero has updated the pull request incrementally with one additional commit since the last revision:
> 
>   addressing review comments

test/langtools/tools/javac/nullability/RuntimeNullChecks.java line 820:

> 818:     @Test
> 819:     public void testUseSideChecksForFieldsSepCompilation(Path base) throws Exception {
> 820:         testUseSiteForFieldsSeparateCompilationHelper(base,

I think I will fold this test with the one above

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/1947#discussion_r2756951646


More information about the valhalla-dev mailing list