On Wed, 6 Jan 2021 12:43:41 GMT, Tejpal Rebari <treb...@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.

Please elaborate as to why this methods are to be deprecated.
It will be useful if you give alternate methods to be used in the javadoc in 
@deprecated tag 
which are supposed to be called by user once these are removed.

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

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

Reply via email to