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

Workaround for ontology crashing on parameterized test #49

Closed
wants to merge 8 commits into from

Conversation

d367wang
Copy link
Contributor

@d367wang d367wang commented Mar 15, 2021

Adding default qualifier to work around crash in checker-framework-inference CI, for PRs like opprop/checker-framework-inference#249, opprop/checker-framework-inference#295.

The newly-added test file ParameterizedTypeTest.java is to ensure that the workaround works, otherwise the unit test will crash in this case.

@xingweitian xingweitian changed the title Walkaround for ontology crashing on parameterized test Workaround for ontology crashing on parameterized test Mar 15, 2021
@@ -93,6 +95,19 @@ protected void finish(
}
}

/**
* This copies the same overriding in OntologyInferenceAnnotatedTypeFactory, just to walk around
Copy link
Contributor

Choose a reason for hiding this comment

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

work around

@@ -93,6 +95,19 @@ protected void finish(
}
}

/**
* This copies the same overriding in OntologyInferenceAnnotatedTypeFactory, just to walk around
* the crash happening in CFI continious integration, by setting default qualifier for type
Copy link
Contributor

Choose a reason for hiding this comment

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

continuous

@d367wang
Copy link
Contributor Author

Identical to #50

@d367wang d367wang closed this May 10, 2021
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