[MacPorts] #71049: openjdk21 @21.0.4+7: error: use of undeclared identifier 'NSBundleExecutableArchitectureARM64' on 10.14 and 10.15

MacPorts noreply at macports.org
Tue Oct 8 12:22:04 UTC 2024


#71049: openjdk21 @21.0.4+7: error: use of undeclared identifier
'NSBundleExecutableArchitectureARM64' on 10.14 and 10.15
----------------------------------+-----------------------------
  Reporter:  sambthompson         |      Owner:  breun
      Type:  defect               |     Status:  assigned
  Priority:  Normal               |  Milestone:
 Component:  ports                |    Version:  2.10.2
Resolution:                       |   Keywords:  catalina mojave
      Port:  openjdk21 openjdk17  |
----------------------------------+-----------------------------

Comment (by Sam Thompson <sambthompson@…>):

 In [changeset:"d2696dcd1dc202c54bc0e4ab020b32ac5777ed58/macports-ports"
 d2696dcd1dc202c54bc0e4ab020b32ac5777ed58/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="d2696dcd1dc202c54bc0e4ab020b32ac5777ed58"
 openjdk{17,21}: workaround for regression in JDK-8266242 (#26116)

 Adds temporary patch to CGraphicsDevice.m to guard use of undeclared
 architecture ARM64 unknown to macOS SDKs before macOS 11.

 openjdk versions before 22 support build on 10.12 - 10.15, but when
 backporting the fix for 22 to 17 and 21, this support was broken.
 This patch should be removed once upstream regression is addressed.

 See: https://trac.macports.org/ticket/71049
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71049#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list