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

Allow java 9 and 10 #9

Closed
victorwss opened this issue Apr 20, 2018 · 2 comments
Closed

Allow java 9 and 10 #9

victorwss opened this issue Apr 20, 2018 · 2 comments

Comments

@victorwss
Copy link

I'm trying to use Checker framework in a Java 10 project, but the plugin doesn't allow versions other than 7 and 8:

private static configureProject(def project) {
// Check for Java 7 or Java 8 to make sure to get correct annotations dependency
def jdkVersion
if (JavaVersion.current().java7) {
jdkVersion = ANNOTATED_JDK_NAME_JDK7
} else if (JavaVersion.current().java8) {
jdkVersion = ANNOTATED_JDK_NAME_JDK8
} else {
throw new IllegalStateException("Checker plugin only supports Java 7 and Java 8 projects.")
}

Why can't it support Java >= 9?

@grv87
Copy link
Contributor

grv87 commented Jun 19, 2018

Checker Framework doesn't support Java 9 and 10 yet.
See typetools/checker-framework#1224

@jaredsburrows
Copy link
Owner

Thanks @grv87.

@victorwss Im closing for now. Feel free to re-open when checkerframework supports Java 9+.

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

No branches or pull requests

3 participants