[MacPorts] #71045: openjdk21-openj9: Minimum OS version is 10.15, openjdk17-openj9: minimum OS version is 10.14

MacPorts noreply at macports.org
Sun Oct 6 05:53:55 UTC 2024


#71045: openjdk21-openj9: Minimum OS version is 10.15, openjdk17-openj9: minimum OS
version is 10.14
--------------------------+-----------------------------------------------
 Reporter:  sambthompson  |      Owner:  breun
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.2
 Keywords:  mojave        |       Port:  openjdk21-openj9 openjdk17-openj9
--------------------------+-----------------------------------------------
 openjdk21-openj9 port installation succeeds on Mojave (and earlier, based
 on [https://ports.macports.org/port/openjdk21-openj9/details/ Port
 Health]), however the installed file
 `/opt/local/Library/Java/JavaVirtualMachines/jdk-21-ibm-
 semeru.jdk/Contents/Info.plist` in the run-time has:

 {{{
 ...
 <key>JVMMinimumSystemVersion</key>
                 <string>10.15.0</string>
 ...
 }}}

 This sort-of accords with IBM's [https://www.ibm.com/support/pages/semeru-
 runtimes-support support documentation], where earliest version supported
 for openjdk21-openj9 is stated as `macOS 11` (and it's the prior LTS
 version openjdk17-openj9 which has `OSX 10.14+` as minimum version).

 Should adjust Portfile to exclude OS versions < 10.15, since
 `/usr/libexec/java_home` checks the minimum system version and will not
 report this JDK as present. This issue also affects openjdk17-openj9,
 where again (according to Port Health), it will install on versions
 earlier than 10.14, despite the Info.plist setting specifying 10.14

-- 
Ticket URL: <https://trac.macports.org/ticket/71045>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list