Integrated: 8342903: Deprecate for removal java.awt.Window.getWarningString()

Phil Race prr at openjdk.org
Thu Nov 21 21:27:25 UTC 2024


On Mon, 18 Nov 2024 22:11:52 GMT, Phil Race <prr at openjdk.org> wrote:

> This fix deprecates for removal java.awt.Window.getWarningString() and also javax.swing.JInternalFrame.getWarningString()
> l java.awt.Window.getWarningString() is only relevant with a SecurityManager and javax.swing.JInternalFrame.getWarningString() is just there for symmetry.
> 
> A few other spec changes ensue - the serial form variable warningString is removed is the main one.
> The AWTPermission showWindowWithoutWarningBanner is obsolete
> Reference to the system property  "awt.appletWarning" was actually already removed by JEP 486
> 
> There is a CSR for the spec. changes, which will need a reviewer : https://bugs.openjdk.org/browse/JDK-8344451
> 
> But the vast majority of the changes here are all the downstream obsoleted implementation
> The warning string and warning icon, and warning windows are all obsoleted.
> I think I tracked down all of it, but it is hard to be sure.
> Automated tests are passing, and I've manually tested SwingSet2 on all 3 platforms.

This pull request has now been integrated.

Changeset: 0f458e2c
Author:    Phil Race <prr at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0f458e2c3eb93641864085d18e49daf640cb3858
Stats:     2083 lines in 51 files changed: 5 ins; 2067 del; 11 mod

8342903: Deprecate for removal java.awt.Window.getWarningString()

Reviewed-by: kizune, erikj, azvegint

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

PR: https://git.openjdk.org/jdk/pull/22221


More information about the build-dev mailing list