On Tue, 19 Aug 2025 20:07:10 GMT, Alexander Matveev <almat...@openjdk.org> 
wrote:

> - Added following note for `--app-content` on macOS to help and man page: 
> `The value should be a directory with the "Resources" subdirectory (or any 
> other directory that is valid in the "Contents" directory of the application 
> bundle). Otherwise, jpackage may produce invalid application bundle which may 
> fail code signing and/or notarization.`
> - Added warning if `--app-content` if it points to non-standard subdirectory 
> in "Contents" directory.
> - Added test to cover warning message.

src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacApplicationBuilder.java
 line 133:

> 131:             if (!CONTENTS_SUB_DIRS.stream()
> 132:                     .anyMatch(subDir -> 
> contentDir.getFileName().toString()
> 133:                                                   
> .equalsIgnoreCase(subDir))) {

Why case-insensitive path name comparison on Unix?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26848#discussion_r2286356298

Reply via email to