Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Untainted qualifier. #58

Merged
merged 2 commits into from
Jun 24, 2020
Merged

Conversation

smillst
Copy link
Member

@smillst smillst commented Jun 23, 2020

@@ -62,7 +63,7 @@
* Constructs a new object.
*/
@HotSpotIntrinsicCandidate
public Object() {}
public @Untainted Object() {}
Copy link
Member

Choose a reason for hiding this comment

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

Should you also add tainting to @AnnotatedFor?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, all the methods have not been annotated, just this one.

Copy link
Member

Choose a reason for hiding this comment

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

Our current suggestion is to fully annotate files: https://checkerframework.org/manual/#annotating-jdk
j.l.Object isn't very big, so wouldn't it be better to fully annotate it for the Tainting Checker?
The "Whenever you add a file" part no longer makes sense, as all possible files are already contained in the typetools/jdk repository.

Copy link
Member Author

Choose a reason for hiding this comment

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

We will do that later.

Copy link
Member

Choose a reason for hiding this comment

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

You should at least open an issue to keep track of this.

@smillst smillst merged commit dec31fc into typetools:master Jun 24, 2020
@smillst smillst deleted the implicitTypeParameter branch June 24, 2020 18:34
Ao-senXiong pushed a commit to Ao-senXiong/jdkopprop that referenced this pull request Sep 8, 2023
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