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 initial checker framework configuration #690

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

koppor
Copy link
Member

@koppor koppor commented Jun 17, 2024

To check @NonNull, there is the checker-framework

There is a gradle plugin.

When using, I get

java.lang.Error: Backtrace:
        at org.checkerframework.javacutil.AnnotationBuilder.fromClass(AnnotationBuilder.java:188)
        at org.checkerframework.javacutil.AnnotationBuilder.fromClass(AnnotationBuilder.java:156)
...
error: AnnotationBuilder: fromClass can't load class org.checkerframework.dataflow.qual.Deterministic
  Is the class in checker-qual.jar?
...
> Task :compileJava FAILED

FAILURE: Build failed with an exception.

Mandatory checks

  • Change in CHANGELOG.md described in a way that is understandable for the average user (if applicable)
  • Tests created for changes (if applicable)
  • Manually tested changed features in running JabRef (always required)
  • Screenshots added in PR description (for UI changes)
  • Checked developer's documentation: Is the information available and up to date? If not, I outlined it in this pull request.
  • Checked documentation: Is the information available and up to date? If not, I created an issue at https://github.com/JabRef/user-documentation/issues or, even better, I submitted a pull request to the documentation repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant