Skip to content

Workaround for ontology crashing on parameterized test#49

Closed
d367wang wants to merge 8 commits into
masterfrom
hack-inference-by-adding-default
Closed

Workaround for ontology crashing on parameterized test#49
d367wang wants to merge 8 commits into
masterfrom
hack-inference-by-adding-default

Conversation

@d367wang

@d367wang d367wang commented Mar 15, 2021

Copy link
Copy Markdown
Contributor

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
}

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

work around


/**
* 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
Copy Markdown
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
Copy Markdown
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