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

TestCompiler should not discover annotation processors on the classpath by default #31791

Closed
snicoll opened this issue Dec 8, 2023 · 0 comments
Assignees
Labels
type: bug A general bug
Milestone

Comments

@snicoll
Copy link
Member

snicoll commented Dec 8, 2023

TestCompiler only sets the configured processors if the list is not empty. This means that if nothing is configured, annotation processors are discovered from the classpath and the only way to disable annotation processing is to pass -proc:none. It's probably better to never discover annotation processors as it can have side effects but we can expose an option if it turns out we need this.

@snicoll snicoll added the type: bug A general bug label Dec 8, 2023
@snicoll snicoll added this to the 6.1.2 milestone Dec 8, 2023
@snicoll snicoll self-assigned this Dec 8, 2023
@snicoll snicoll closed this as completed in 33e4129 Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant