JAR files passed to sonar.java.libraries should be unlocked when not needed anymore in Batch mode

Description

In SONARJAVA-3609, we identified that JAR files passed to sonar.java.libraries were not always unlocked on Windows, due to a bug on ECJ side.

When using batch mode, the cleanup mechanism introduced back then is not applied.

Even if the resources are actually unlocked after the analysis, we should make sure to free resources the same way, to avoid unexpected behavior.

Activity

Michael GumowskiMarch 23, 2022 at 6:29 PM

LGTM! Nice work!

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Priority

Sentry

Created March 22, 2022 at 4:44 PM
Updated October 16, 2024 at 2:06 PM
Resolved March 25, 2022 at 9:17 AM