On Fri, 4 Nov 2022 23:26:00 GMT, Alexander Matveev <almat...@openjdk.org> wrote:
> Changed names of symbolic links for drag and drop location in DMG image. See > attached images in JBS. > "/Applications" -> "Applications" for app DMG image. > "/Library/Java/JavaVirtualMachines" -> "JavaVirtualMachines" for runtime DMG > image. > > Automated test was not added, since DMGsetup.scpt is not getting executed in > headless environment and thus symbolic links are not created during automated > testing. src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacBaseInstallerBundler.java line 121: > 119: // use "Applications" or "JavaVirtualMachines". For user provided > installation > 120: // directory we will use full path as display name. > 121: static String getInstallDirDisplayName( Is this method ever called with `false` as the last parameter? If no, I'd remove it. ------------- PR: https://git.openjdk.org/jdk/pull/11001