<i18n dev> RFR: 8342903: Deprecate for removal java.awt.Window.getWarningString() [v3]

Phil Race prr at openjdk.org
Wed Nov 20 23:41:50 UTC 2024


> 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.

Phil Race has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - 8342903
 - Merge remote-tracking branch 'upstream/master' into warningstring
   Merge master
 - 8344451
 - 8344451

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22221/files
  - new: https://git.openjdk.org/jdk/pull/22221/files/cebd99ef..15b9eab4

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22221&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22221&range=01-02

  Stats: 61089 lines in 778 files changed: 26652 ins; 31198 del; 3239 mod
  Patch: https://git.openjdk.org/jdk/pull/22221.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22221/head:pull/22221

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


More information about the i18n-dev mailing list