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

Suppress compiler warning "Supported source version 'RELEASE_6' from annotation processor... less than -source..." in picocli-codegen #826

Closed
remkop opened this issue Sep 26, 2019 · 1 comment

Comments

@remkop
Copy link
Owner

remkop commented Sep 26, 2019

picocli-codegen generates an (unnecessary) compiler warning that the annotation processor may not be forwards compatible with the version of Java that it is running on:

Supported source version 'RELEASE_6' from annotation processor 'picocli.codegen.aot.graalvm.processor.NativeImageConfigGeneratorProcessor' less than -source '1.8'

TODO: suppress this by adding this:

@Override
public SourceVersion getSupportedSourceVersion() {
    return SourceVersion.latest();
}
@remkop
Copy link
Owner Author

remkop commented Oct 8, 2019

Fixed in master.

remkop added a commit that referenced this issue Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant