RFR: 8356218: [macos] Document --app-content [v2]
Alexander Matveev
almatvee at openjdk.org
Tue Aug 19 22:10:53 UTC 2025
On Tue, 19 Aug 2025 21:26:41 GMT, Alexander Matveev <almatvee at openjdk.org> wrote:
>> 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?
>
> By default macOS is case-insensitive. If I rename `MacOS` to `macos` in application bundle, such bundle will still works. I assumed that `Resources` and `resources` are same thing. After thinking more about it I think it should be case sensitive comparison. Will change it.
Changed to case sensitive comparison.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26848#discussion_r2286440419
More information about the core-libs-dev
mailing list