OpenJDK 21 Build on MacOS Sonoma throwing WARNING: Secure coding is automatically enabled
Philip Race
philip.race at oracle.com
Fri Oct 27 20:19:57 UTC 2023
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/20231027/775239f0/attachment.htm>
More information about the build-dev
mailing list