Skip to content

Tracking issue: making jspecify/jdk library models available to NullAway users #950

Closed
1 of 1 issue completed

Description

@msridhar

This issue is for tracking remaining changes we need to make to use the jspecify/jdk library models with NullAway. We added some initial support for parsing source code and generating astubx files in #922, with support only for reading in @Nullable return types. (List below is quite incomplete for the moment)

Activity

  1. added
    jspecifyRelated to support for jspecify standard (see jspecify.dev)
    trackingFor tracking a larger NullAway change / improvement
    on Apr 16, 2024
  2. msridhar commented on Nov 11, 2025

    @msridhar
    CollaboratorAuthor

    We've changed our approach here rather significantly. We're now using a javac plugin to extract the nullness info out of jspecify/jdk. #1333 is our latest work on this approach, and it seems to be the way we will go.

  3. added a commit that references this issue on Mar 23, 2026
  4. added a commit that references this issue on Jun 26, 2026
  5. msridhar commented on Aug 21, 2026

    @msridhar
    CollaboratorAuthor

    This is now fixed on the master branch, underneath a flag that is off by default (since it causes a bunch of new warnings in typical projects). There are potentially more minor issues to fix (like #1498) but for the most part this is done. So I'm going to close this issue! Please file follow-ups where things don't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    jspecifyRelated to support for jspecify standard (see jspecify.dev)trackingFor tracking a larger NullAway change / improvement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions