<Swing Dev> RFR: 8049700: Deprecate obsolete classes and methods in javax/swing/plaf/basic [v8]
Sergey Bylokhov
serb at openjdk.java.net
Fri Apr 2 22:38:38 UTC 2021
On Thu, 4 Mar 2021 05:50:18 GMT, Tejpal Rebari <trebari at openjdk.org> wrote:
>> Please review the following fix for jdk17.
>> In this fix i have deprecated and marked for removal following classes and methods
>> public void intervalAdded(ListDataEvent e)
>> public void intervalRemoved(ListDataEvent e)
>> protected boolean lt(File a, File b) in BasicDirectoryModel.java
>>
>> inner class PropertyChangeHandler, VSBChangeListener, HSBChangeListener,
>> ViewportChangeHandler in BasicScrollPaneUI.java
>> inner class MouseInputHandler in BasicMenuItemUI.java
>> method BasicToolBarUI.java#createFloatingFrame
>>
>> From 8049700 not deprecated the paintText(Graphics g, JComponent c, Rectangle textRect, String text) method in BasicButtonUI as AquaButtonUI, MetalButtonUI and MetalToggleButtonUI overrides it.
>> Similarly not deprecated ChangeHandler of BasicMenuUI as AquaMenuUI and MotifMenuUI uses this class.
>
> Tejpal Rebari 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 eight additional commits since the last revision:
>
> - Merge remote-tracking branch 'upstream/master' into 8049700
> - removed forRemoval
> - removed deprecation from methods of class which is also getting deprecated
> - removed jdk version from @deprecated javadoc tag
> - updated documentation
> - Merge remote-tracking branch 'upstream/master' into 8049700
> - minor correction
> - initial fix
Marked as reviewed by serb (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/1958
More information about the swing-dev
mailing list