RFR: 8300891: Deprecate for removal javax.swing.plaf.synth.SynthLookAndFeel.load(URL url)

Phil Race prr at openjdk.org
Tue Jan 24 23:39:38 UTC 2023


SynthLookAndFeel.load(URL) is problematic because applications need to trust the URL.
As documented in the bug report there are alternative mechanisms and JDK itself has not used this for the two Synth based L&Fs : Nimbus and GTK.
So deprecating - for removal - and adding warnings now in the docs is appropriate.

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

Commit messages:
 - 8300891
 - 8300891

Changes: https://git.openjdk.org/jdk/pull/12175/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12175&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8300891
  Stats: 18 lines in 2 files changed: 18 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/12175.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12175/head:pull/12175

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



More information about the client-libs-dev mailing list