elharo opened a new pull request, #105: URL: https://github.com/apache/maven-jarsigner/pull/105
Fixes #97 Replaces the deterministic temp file path `jarFile.getAbsolutePath() + ".unsigned"` with `Files.createTempFile()`, which generates a unique filename in the same directory. This eliminates the race condition when `unsignArchive()` is called concurrently on the same file — each call now gets its own temp file instead of fighting over a shared one. Also adds a concurrent test (`unsignArchiveConcurrent`) that exercises two threads unsigning the same jar simultaneously. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
