Skip to content

Conversation

@cpovirk
Copy link
Collaborator

@cpovirk cpovirk commented Jun 26, 2024

No description provided.

@cpovirk cpovirk requested a review from netdpb June 26, 2024 14:26
@cpovirk cpovirk assigned cpovirk and unassigned cpovirk Jun 26, 2024
@netdpb
Copy link
Collaborator

netdpb commented Jun 26, 2024

What about the others, here?

@cpovirk
Copy link
Collaborator Author

cpovirk commented Jun 26, 2024

Oopsie. Thanks. Done.

"org.jetbrains.annotations.Nullable",
"org.jmlspecs.annotation.Nullable",
"org.jspecify.annotations.Nullable",
"org.jspecify.nullness.Nullable",
Copy link
Collaborator

@netdpb netdpb Jun 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's up with these entire lists? If this is the reference checker for JSpecify annotations, should it understand anything else at all?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you have in mind downsides to recognizing other annotations? The checker already goes beyond the JSpecify spec by handling things like dataflow, and of course we use it on some projects like Guava for our own purposes. I could imagine putting all that logic behind flags (so that the conformance tests could disable it), but I'm not sure what we'd get out of it.

@cpovirk cpovirk merged commit 5194e00 into main Jun 26, 2024
@cpovirk cpovirk deleted the oldpackage2 branch June 26, 2024 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants