Skip to content

Stop recognizing annotations from the old package. - #181

Merged
cpovirk merged 4 commits into
mainfrom
oldpackage2
Jun 26, 2024
Merged

cpovirk merged 4 commits into
mainfrom
oldpackage2

Conversation

@cpovirk

@cpovirk cpovirk commented Jun 26, 2024

Copy link
Copy Markdown
Collaborator

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

netdpb commented Jun 26, 2024

Copy link
Copy Markdown
Collaborator

What about the others, here?

@cpovirk

cpovirk commented Jun 26, 2024

Copy link
Copy Markdown
Collaborator Author

Oopsie. Thanks. Done.

"org.jetbrains.annotations.Nullable",
"org.jmlspecs.annotation.Nullable",
"org.jspecify.annotations.Nullable",
"org.jspecify.nullness.Nullable",

@netdpb netdpb Jun 26, 2024 •

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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.

2 participants