> On Mar 3, 2025, at 1:51 PM, Michael Hall <mik3h...@gmail.com> wrote:
> 
> 
> 
>> On Mar 3, 2025, at 1:37 PM, Alexey Semenyuk <alexey.semen...@oracle.com> 
>> wrote:
>> 
>> Hi Michael,
>> 
>> Thank you for the detailed report! I filed [1] ticket that, I hope, captures 
>> all findings from your report. Let me know if anything was missed or 
>> misunderstood.
>> 
>> [1] https://bugs.openjdk.org/browse/JDK-8351073
>> 
>> - Alexey
>> 
> 
> Hello Alexey,
> 
>>  jpackage should copy them as-is.
> 
> It would be nice if this was the case but I think you need to be sure changes 
> are made to the Info.plist to ensure the correct version is indicated in a 
> few places. 
> 
> Apple offers something like plist buddy that could maybe be used.
> 

Fwiw,

(base) mjh@MacBook-Pro-2 ~ % grep -C 1 CFBundleGetInfoString Info.plist
        <string>libjli.dylib</string>
        <key>CFBundleGetInfoString</key>
        <string>Java SE 23.0.1+11-39</string>
(base) mjh@MacBook-Pro-2 ~ % /usr/libexec/PlistBuddy -c 
'set:CFBundleGetInfoString Java SE 25' Info.plist
(base) mjh@MacBook-Pro-2 ~ % /usr/libexec/PlistBuddy -c 'save' Info.plist    
Saving...
(base) mjh@MacBook-Pro-2 ~ % grep -C 1 CFBundleGetInfoString Info.plist         
                         
        <string>libjli.dylib</string>
        <key>CFBundleGetInfoString</key>
        <string>Java SE 25</string>


Reply via email to