RFR: 8356047: [macos] jpackage produces confusing post- and pre- installation PKG scripts [v8]

Alexey Semenyuk asemenyuk at openjdk.org
Wed Oct 8 02:20:08 UTC 2025


On Wed, 8 Oct 2025 02:13:54 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

>> `[18:34:04.625] No default package resource postinstall [PKG postinstall script] (add postinstall to the resource-dir to customize).`
>> `[18:34:04.625] No default package resource preinstall [PKG preinstall script] (add preinstall to the resource-dir to customize).
>> `
>> This is example of log message. Do you have any suggestions on how to improve it?
>
> This change adds the following log message:
> 
> [22:09:41.559] No default package resource null [script to run after application image is populated] (add null to the resource-dir to customize).
> 
> I can see it in PkgScriptsTest and in SimplePackageTest.

> Do you have any suggestions on how to improve it?

No, I don't know off the top of my head. This is a broader issue: jpackage should write all customizable resources in the log.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25510#discussion_r2412337596


More information about the core-libs-dev mailing list