[jdk21u-dev] RFR: 8318854: [macos14] Running any AWT app prints Secure coding warning

Goetz Lindenmaier goetz at openjdk.org
Tue Apr 23 06:11:35 UTC 2024


On Thu, 11 Apr 2024 08:12:10 GMT, Amos Shi <ashi at openjdk.org> wrote:

> Backport of [JDK-8318854](https://bugs.openjdk.org/browse/JDK-8318854)
> 
> Testing
> - Local: Passed on `MacOS 14.4.1 (23E224)`
>   - When running the program 
>     - `dev-8318854-21/build/macosx-aarch64-server-slowdebug/images/jdk/demo/jfc/SwingSet2/SwingSet2.jar`
>   - Without this PR, we see the message
>     -  `WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.`
>   - With this PR, the warning is gone
> - Pipeline: **All checks have passed**
> - Testing Machine: SAP nightlies passed on `2024-04-16,19,20`

Thanks for running the test!!

-------------

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/489#issuecomment-2071479540


More information about the jdk-updates-dev mailing list