Opened 2 hours ago

#71045 assigned defect

openjdk21-openj9: Minimum OS version is 10.15, openjdk17-openj9: minimum OS version is 10.14

Reported by: sambthompson (Sam Thompson) Owned by: breun (Nils Breunese)
Priority: Normal Milestone:
Component: ports Version: 2.10.2
Keywords: mojave Cc:
Port: openjdk21-openj9 openjdk17-openj9

Description

openjdk21-openj9 port installation succeeds on Mojave (and earlier, based on 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 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

Change History (0)

Note: See TracTickets for help on using tickets.