slachiewicz opened a new pull request, #2297: URL: https://github.com/apache/maven-resolver/pull/2297
`GnupgSignatureArtifactGenerator` and `SigstoreSignatureArtifactGenerator` delete their temporary signature files in `close()`, which runs once. `generate()` after `close()` created temporary files nobody deleted, and `close()` was not synchronized against the synchronized `generate()`. `generate()` now throws `IllegalStateException` on a closed generator and `close()` is synchronized. `generateAfterCloseIsRejected` covers both generators; without the change it fails with the `NullPointerException` of an attempted signing. -- 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]
