Skip to content

org.springframework.core.test.tools.TestCompiler.Errors should handle case where warnings are turned into errors #36037

@snicoll

Description

@snicoll

When we use TestCompiler with -Werror and that a warning has been triggered, we get the following detail:

org.springframework.core.test.tools.CompilationException: Unable to compile source


warnings found and -Werror specified

We should record the warnings and log them, or perhaps offer a way to always log them.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions