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

Michael Hall mik3hall at gmail.com
Tue Feb 25 16:25:28 UTC 2025



> On Feb 25, 2025, at 10:20 AM, Alexey Semenyuk <asemenyuk at openjdk.org> wrote:
> 
> On Tue, 25 Feb 2025 03:28:46 GMT, Michael Hall <mik3hall at gmail.com> wrote:
> 
>> I would think a warning should just indicate that ?install-dir is always ignored for dmg builds.
> 
> Do you suggest bringing back the behavior of jpackage that always issued the warning when the `--install-dir` option is used with DMG packaging, or do you have different wording for the waning? Or both? :)
> 
> -------------
> 
> PR Comment: https://git.openjdk.org/jdk/pull/23752#issuecomment-2682539392

I guess yes. Either always warn it doesn’t do anything with a dmg or ignore it silently and let them use it if it makes them happy. 
But I still myself don’t see what any directory has to do with a dmg.  You don’t install the dmg or the app anywhere? You just put the app into the dmg. 
Or I am still somehow misunderstanding.


More information about the core-libs-dev mailing list