Why @Autowired on field didn't caught warning in IDEA after updated?

Answered

Product: IDEA 2017.3.1

OS: macOS Sierra 10.12.6

After upgrade IDEA to 2017.3.1, the "Field injection warning" didn't work. The warning on "@Autowired" disappeared.

Picture below is an example, it's a simple SpringBoot application. I'm not sure if it happened on 2017.3.

 

Does anybody can explain this?

 

 

3
3 comments

Thanks for reply.

After reading that issue, I did some experiments.

Install 2017.2.6 via JetBrains ToolBox. -> warning

Roll back to 2017.3. -> no warning

It might be a bug.

1

I met the same problem, version:2017.3.1

1

Please sign in to leave a comment.