RFR: 8378877: jpackage: improve rebranding of exe files on Windows

Alexey Semenyuk asemenyuk at openjdk.org
Fri Feb 27 22:42:34 UTC 2026


On Wed, 25 Feb 2026 02:09:13 GMT, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:

> Change how jpackage embeds icons, version and other properties in .exe files.
> Don't print
> 
> Warning: Windows Defender may prevent jpackage from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory <TMPDIR>.
> 
> 
> warning. Instead, run the operation with retries.
> 
> Additionally, throw JPackageException instead of RuntimeException to report errors; fail if invalid data is passed in the ctor instead of logging and ignoring it.

@sashamatveev PTAL

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

PR Comment: https://git.openjdk.org/jdk/pull/29906#issuecomment-3975563674


More information about the core-libs-dev mailing list