RFR: 8350594: Misleading warning about install dir for DMG packaging

Michael Hall mik3hall at gmail.com
Tue Feb 25 19:22:50 UTC 2025



> On Feb 25, 2025, at 12:42 PM, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:
> 
> On Tue, 25 Feb 2025 17:40:46 GMT, Michael Hall <mik3hall at gmail.com> wrote:
> 
>> Yes, actually I think they should always be warned the cli option is ignored or has no effect.
> 
> Even if the cli option has a value that is not ignored because it is equal to the default one? Why issue a warning if the value of the option is accepted?

Because for dmg’s including the cli option doesn’t actually do anything. Which they should know before they don’t get a warning on the Application directory but do when they try something else. 
They should realize why, but maybe won’t understand the difference.

> 
>> The dmg image should always have the Application directory
> 
> This is not the case for Java runtime packages, They are installed in `/Library/Java/JavaVirtualMachines` subtree by default, not in `/Applications`.
> 

Again I’ve been assuming type dmg builds. For pkg it might be different. I haven’t done any of those.



More information about the core-libs-dev mailing list