You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JSpecify: work around missing type annotations in cast expression types #1022
changed the title [-]JSpecify: work around missing type annotations in (some?) `var`-declared variables[/-][+]JSpecify: work around missing type annotations in cast expressions[/+]on Aug 19, 2024
changed the title [-]JSpecify: work around missing type annotations in cast expressions[/-][+]JSpecify: work around missing type annotations in cast expression types[/+]on Aug 19, 2024
Activity
[-]JSpecify: work around missing type annotations in (some?) `var`-declared variables[/-][+]JSpecify: work around missing type annotations in cast expressions[/+][-]JSpecify: work around missing type annotations in cast expressions[/-][+]JSpecify: work around missing type annotations in cast expression types[/+]msridhar commentedon Aug 22, 2024
This issue is fixed in JDK 24-ea, but most likely we should still implement a workaround in NullAway.
msridhar commentedon Sep 8, 2024
From my testing, it looks like this is also fixed in the latest JDK 23 release candidate. FYI @cpovirk
msridhar commentedon Aug 31, 2025
This issue diagnosed the problem incorrectly; see #1266.
Account for annotations in extends / implements when computing view a…