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

4.x: explicitly configure javac for annotation processing #7445

Closed
barchetta opened this issue Aug 24, 2023 · 0 comments
Closed

4.x: explicitly configure javac for annotation processing #7445

barchetta opened this issue Aug 24, 2023 · 0 comments
Assignees
Labels
4.x Version 4.x build
Milestone

Comments

@barchetta
Copy link
Member

barchetta commented Aug 24, 2023

Environment Details

  • Helidon Version: 4.0.0-SNAPSHOT (24-Aug-2023)
  • Helidon SE or Helidon MP: MP
  • JDK version: openjdk 21-ea 2023-09-19

Problem Description

When compiling the Helidon 4 MP quickstart application (and the Helidon project itself) you see the following message:

  Annotation processing is enabled because one or more processors were found
  on the class path. A future release of javac may disable annotation processing
  unless at least one processor is specified by name (-processor), or a search
  path is specified (--processor-path, --processor-module-path), or annotation
  processing is enabled explicitly (-proc:only, -proc:full).
  Use -Xlint:-options to suppress this message.
  Use -proc:none to disable annotation processing.

This is due to a change in Java 21. See:

We should explicitly configure javac to eliminate this message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x build
Projects
Archived in project
Development

No branches or pull requests

1 participant