On Fri, 3 Jan 2025 21:30:02 GMT, Alexander Matveev <almat...@openjdk.org> wrote:

> What I mean is what will happen if following command run manually by user 
> from terminal without DOS file names support

If file conversion fails, jpackage will show `Failed to get short version of 
<long-path> path` error message, where `<long-path>` is an absolute path 
requested to be converted into DOS path.

See 
[src/jdk.jpackage/windows/classes/jdk/jpackage/internal/ShortPathUtils.java](https://github.com/openjdk/jdk/blob/07c9f7138affdf0d42ecdc30adcb854515569985/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/ShortPathUtils.java#L70)
 and 
[WinResources.properties](https://github.com/openjdk/jdk/blob/07c9f7138affdf0d42ecdc30adcb854515569985/src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources.properties#L59)

PS The question is unrelated to the subject of this PR.

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

PR Comment: https://git.openjdk.org/jdk/pull/22896#issuecomment-2569863802

Reply via email to