Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: uber/NullAway
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.12.6
Choose a base ref
...
head repository: uber/NullAway
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.12.7
Choose a head ref
  • 12 commits
  • 33 files changed
  • 2 contributors

Commits on Mar 27, 2025

  1. Configuration menu
    Copy the full SHA
    319a721 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2025

  1. Update to Checker Framework 3.49.2 (#1183)

    This version adds basic support for unnamed patterns (introduced in JDK
    22) so NullAway no longer crashes on them.
    
    Fixes #1168
    msridhar authored Apr 2, 2025
    Configuration menu
    Copy the full SHA
    03dc42d View commit details
    Browse the repository at this point in the history
  2. Don't check synchronized blocks within unannotated code (#1185)

    Fixes #1184 
    
    We forgot to add the standard check for unannotated code to
    `matchSynchronized`
    msridhar authored Apr 2, 2025
    Configuration menu
    Copy the full SHA
    059b90b View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2025

  1. Test on JDK 24 (#1187)

    msridhar authored Apr 4, 2025
    Configuration menu
    Copy the full SHA
    86febe1 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2025

  1. Fix multiple issues with NewClassTrees that have enclosing expressi…

    …ons (#1191)
    
    Fixes #1188, exactly as suggested in that issue. This both simplifies
    the code and fixes a false negative with `@Nullable` enclosing
    expressions.
    msridhar authored Apr 8, 2025
    Configuration menu
    Copy the full SHA
    d5cb4f1 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2025

  1. Ensure classes null-marked by library model detected in all places (#…

    …1197)
    
    Fixes #1194 
    
    Previously we were sloppy about allowing a null `Handler` to be passed
    into `CodeAnnotationInfo` and then caching the result. Here we change
    the code to always pass a non-null `Handler` in to public APIs of
    `CodeAnnotationInfo`, and we avoid caching if the handler is ever `null`
    from an internal call.
    msridhar authored Apr 13, 2025
    Configuration menu
    Copy the full SHA
    647e77e View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2025

  1. JSpecify: handle varargs whose element type is a type variable (#1200)

    Partially addresses #1199. After substituting for a type variable, we
    were not retrieving the correct nullability for a varargs parameter,
    which should be the nullability of the component, not the array type
    itself.
    
    Also adds some simplification of our handling of varargs calls based on
    a tip from @jeffrey-easyesi
    msridhar authored Apr 18, 2025
    Configuration menu
    Copy the full SHA
    4987a2e View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2025

  1. Configuration menu
    Copy the full SHA
    d40de5e View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2025

  1. Optimization to annotation stripping in library model matching (#1204)

    Small optimization over #1203; pre-compile the `Pattern` used for
    matching.
    msridhar authored Apr 28, 2025
    Configuration menu
    Copy the full SHA
    4a9a9ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f1b386 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2025

  1. Properly handle method references to null-unmarked methods (#1205)

    Fixes #1195 
    
    We adjust our method overriding checks for a method reference to a
    `@NullUnmarked` method. Any overriding should be allowed, except in the
    presence of a restrictive annotation (`@Nullable` on the return or
    `@NonNull` on a parameter). Also add tests for `@NonNull` on the varargs
    parameter.
    msridhar authored Apr 30, 2025
    Configuration menu
    Copy the full SHA
    4a0b555 View commit details
    Browse the repository at this point in the history
  2. Prepare for release 0.12.7.

    yuxincs committed Apr 30, 2025
    Configuration menu
    Copy the full SHA
    adad028 View commit details
    Browse the repository at this point in the history
Loading