<Swing Dev> RFR: 8049700: Deprecate obsolete classes and methods in javax/swing/plaf/basic [v6]

Tejpal Rebari trebari at openjdk.java.net
Fri Feb 19 15:48:58 UTC 2021


On Wed, 10 Feb 2021 18:04:16 GMT, Phil Race <prr at openjdk.org> wrote:

> Are these methods all expected to be used only by a L&F rather than an application ?
> If by an application, then forRemoval seems too strong to me.
> If by a L&F then I think you need to go research what open source L&Fs there are out there and see how many of them are affected. Then we can decide about forRemoval.

After the fix i have ran all the automated jtreg and jck (link is in the JBS) and not seeing any issues there.
I also ran SwingSet2 with Aqua, Metal, Motif, Nimbus, Windows, Windows Classic, and GTK LookAndFeel
 with debug statement in each of the deprecated methods and class, 
and none of the methods and classes are getting called in any of the LAF's.

For now we can remove the "forRemoval".

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

PR: https://git.openjdk.java.net/jdk/pull/1958


More information about the swing-dev mailing list