OpenJDK 21 Build on MacOS Sonoma throwing WARNING: Secure coding is automatically enabled

2024-03-22 Thread Asif Ikram
Dear Team Can you please help me with this? *2023-10-24 12:16:57.027 java[97952:198365] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing

Re: OpenJDK 21 Build on MacOS Sonoma throwing WARNING: Secure coding is automatically enabled

2023-10-30 Thread erik . joelsson
On 10/30/23 10:05, Philip Race wrote: It is possible to use Xcode 12 on macOS14. Our internal build system manages to make this work. Don't ask me for the details, because I don't know them very well. Internally we use macOS 13.x  and Xcode 14.3.1 to build JDK 22, and macOS 12.x and Xcode

Re: OpenJDK 21 Build on MacOS Sonoma throwing WARNING: Secure coding is automatically enabled

2023-10-30 Thread Philip Race
It is possible to use Xcode 12 on macOS14. Our internal build system manages to make this work. Don't ask me for the details, because I don't know them very well. I think you may have to create a (free) Apple developer a/c to be able to get the older Xcodes. That's step 1. But you are going to

Re: OpenJDK 21 Build on MacOS Sonoma throwing WARNING: Secure coding is automatically enabled

2023-10-30 Thread Asif Ikram
Dear Philip Thanks for your response and directions. I guess it is not possible to use Xcode 12.x on MacOS14, because it asks for the latest version of Xcode. I used the OpenJDk20 binary and OpenJDK21 binary to create the build from OpenJDK21+35 source code, but I'm still facing the same

Re: OpenJDK 21 Build on MacOS Sonoma throwing WARNING: Secure coding is automatically enabled

2023-10-27 Thread Philip Race
This is due you using a newer compiler than the "official" one used by OpenJDK for JDK21 We will have a fix to silence it for JDK 22, but that won't help your JDK 21 build. You'll need to use Xcode 12.x instead of whatever you are using. -phil. On 10/24/23 9:57 AM, Asif Ikram wrote: Dear

OpenJDK 21 Build on MacOS Sonoma throwing WARNING: Secure coding is automatically enabled

2023-10-24 Thread Asif Ikram
Dear Team Can you please help me with this? *2023-10-24 12:16:57.027 java[97952:198365] WARNING: Secure coding is automatically enabled for restorable state! However, not on all supported macOS versions of this application. Opt-in to secure coding explicitly by implementing