OpenJDK 21 Build on MacOS Sonoma throwing WARNING: Secure coding is automatically enabled
Asif Ikram
robustbrain at gmail.com
Mon Oct 30 14:07:55 UTC 2023
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 problem with my
build.
Is it MacOS14 and ist AppKit causing the issue? Apple has deprecated some
native methods in MacOS14.
https://developer.apple.com/documentation/macos-release-notes/appkit-release-notes-for-macos-14
best regards
Asif
On Sat, Oct 28, 2023 at 1:20 AM Philip Race <philip.race at oracle.com> wrote:
> 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 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
> NSApplicationDelegate.applicationSupportsSecureRestorableState:.*
>
>
> I have created OpenJDK 21+35 Build on MacOS 14 Sonoma.
> I am not able to complete a few AWT tests in JCK21 (JT Harness Runtime).
>
> Best regards
> Asif
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20231030/18af11b1/attachment-0001.htm>
More information about the build-dev
mailing list