Skip to content

CompilationException should not use -1 for line or column numbers when they are unknown #36041

@snicoll

Description

@snicoll

If a compilation error occurs and the location is unkonwn, we shouldn't display -1. Here is an example:

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


warnings found and -Werror specified /com/example/App__BeanDefinitions.java -1:-1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions