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: bug with array contents annotations being copied by javac #1474
For both the consume calls, we end up passing in an array containing @Nullable Strings to a function expecting an array containing @NonNull Strings, which we should reject. I think the missed warning is because javac infers the type Consumer<@Nullable String[]> for the method references at the call sites, copying over the annotation from the other argument. NullAway needs to "undo" that annotation when it does its inference. This is vaguely related to #1453, but a different issue that seems specific to arrays.
Activity
Better handling of method references passed to generic methods in JSp…