On Tue, 25 Aug 2026 18:20:56 GMT, Alexey Semenyuk <[email protected]> wrote:
> Add optional validation of the value of the `--linux-menu-group` option and > desktop entry files (`*.desktop`) using the desktop-file-validate command. > > If the command is not available, jpackage doesn't validate the value of the > `--linux-menu-group` option and desktop entry files it creates. > > It turned out that jpackage was producing desktop files that failed > validation with some versions of the desktop-file-validate command. It was a > minor incompatibility due to missing the trailing semicolon (;) in the value > of the `MimeType` and `Categories` entries. Fixed accordingly. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: c2e53364 Author: Alexey Semenyuk <[email protected]> URL: https://git.openjdk.org/jdk/commit/c2e533648c31418ddc1d652d786bfe033a3c7ef4 Stats: 1103 lines in 27 files changed: 1005 ins; 37 del; 61 mod 8371868: Use desktop-file-validate command to validate desktop entry files created by jpackage Reviewed-by: almatvee ------------- PR: https://git.openjdk.org/jdk/pull/32523
