RFR: 8350801: Add a code signing hook to the JDK build system

Frederic Thevenet fthevenet at openjdk.org
Tue Mar 25 11:32:33 UTC 2025


On Tue, 25 Mar 2025 08:49:34 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Why not just call bash with the script as argument? Or is this against some policy or good style?


EDIT: I didn't want to presume that the hook would necessarily be implemented as a shell script. It seems likely that it will almost always be the case, but forcing it feels unnecessarily restrictive.

Requiring the script used for the hook to be executable didn't strike me as an unreasonable requirement, although I agree it should fail as quickly as possible if it weren't, which is why I added that check at configure time. 
But maybe I'm missing something; are you aware of a situation where this could prove problematic or overly annoying to the user?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23807#issuecomment-2750573787


More information about the build-dev mailing list