-
Notifications
You must be signed in to change notification settings - Fork 336
Comparing changes
Open a pull request
base repository: uber/NullAway
base: v0.12.4
head repository: uber/NullAway
compare: v0.12.5
- 12 commits
- 33 files changed
- 4 contributors
Commits on Feb 27, 2025
-
Configuration menu - View commit details
-
Copy full SHA for f97d585 - Browse repository at this point
Copy the full SHA f97d585View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0888040 - Browse repository at this point
Copy the full SHA 0888040View commit details
Commits on Mar 4, 2025
-
Add missing override to
RestoreNullnessAnnotationsVisitor(#1154)We missed the case for `ForAll` types (for generic methods) Fixes #1129
Configuration menu - View commit details
-
Copy full SHA for baf8f77 - Browse repository at this point
Copy the full SHA baf8f77View commit details -
Add more bailouts for raw types (#1153)
Fixes #1151 The extra check in `CheckIdenticalNullabilityVisitor` is not needed to fix this bug but seemed like a prudent addition.
Configuration menu - View commit details
-
Copy full SHA for 635ecd2 - Browse repository at this point
Copy the full SHA 635ecd2View commit details
Commits on Mar 13, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 7a89102 - Browse repository at this point
Copy the full SHA 7a89102View commit details -
JSpecify: infer generic method type arguments for assignments (#1131)
This PR infers nullability of generic method type arguments for the case where the result of the call is assigned to a variable, e.g.: ```java class Foo<T extends @nullable Object> { Foo(T t) {} static <U extends @nullable Object> Foo<U> make(U u) { return new Foo<>(u); } void test() { Foo<@nullable Object> f1 = Foo.make(null); // legal Foo<Object> f2 = Foo.make(null); // error reported; arg cannot be @nullable } } ``` See the tests for (many) more examples. --------- Co-authored-by: Manu Sridharan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8786e88 - Browse repository at this point
Copy the full SHA 8786e88View commit details
Commits on Mar 17, 2025
-
JSpecify: properly handle lambdas in anonymous inner classes (#1165)
Fixes #1156 When checking correctness of lambda overrides we get the type from `javac`'s inferred type rather than using the enclosing class. Also, when getting the type of an anonymous class we add some extra assertions to ensure we find the right `NewClassTree` representing the anonymous class. I _think_ we'll always get the right tree now, but the asserts give peace of mind.
Configuration menu - View commit details
-
Copy full SHA for 0161a80 - Browse repository at this point
Copy the full SHA 0161a80View commit details -
Support @MonotonicNonNull on static fields (#1166)
Fixes #1160 Add more tests for other cases also
Configuration menu - View commit details
-
Copy full SHA for 0825436 - Browse repository at this point
Copy the full SHA 0825436View commit details
Commits on Mar 24, 2025
-
Update to Error Prone 2.37.0 (#1169)
We suppress some warnings on tests as they will be much easier to fix with text blocks, which we can only use once we require JDK 17 (see #1170).
Configuration menu - View commit details
-
Copy full SHA for 685065a - Browse repository at this point
Copy the full SHA 685065aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3da2c82 - Browse repository at this point
Copy the full SHA 3da2c82View commit details -
Don't treat
@ParametricNullnessas@Nullablein JSpecify mode (#1174) Fixes #1173 In JSpecify mode, we should rely on our checking of generic types and not treat `@ParametricNullness` as a `@Nullable` annotation.
Configuration menu - View commit details
-
Copy full SHA for b84feb7 - Browse repository at this point
Copy the full SHA b84feb7View commit details
Commits on Mar 26, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 9613fb7 - Browse repository at this point
Copy the full SHA 9613fb7View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.12.4...v0.12.5