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

Phil Race prr at openjdk.org
Fri Jan 27 20:27:20 UTC 2023


On Fri, 27 Jan 2023 20:22:48 GMT, Phil Race <prr at openjdk.org> wrote:

>> 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.
>
> Phil Race has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8300891

I added the links and removed the from but the "," and moving the text doesn't work well as
the @deprecated tag is placed first by the javadoc and I think it was better to go into the explanation where it was.
Also "as described above" doesn't work because there's nothing above ..

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

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



More information about the client-libs-dev mailing list