- versions used (SonarQube 7.4)
- steps to reproduce
- Open multiple stream in a try block.
- Then closed all open stream in finally block.
- Now run sonarqube scanner.
- Sonarqube didn’t recognize all th closed stream except the first one. And still shows it as a bug in the report that resource need to be closed in finally clause.