RFR: 8047749: javadoc for getPathBounds() in TreeUI and BasicTreeUI is incorrect

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Mon Feb 14 04:40:09 UTC 2022


On Thu, 10 Feb 2022 08:11:04 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> The javadoc descriptions for javax.swing.plaf.TreeUI.getPathBounds() and javax.swing.plaf.basic.BasicTreeUI.getPathBounds() have stated it returns null if any component in path is currently "valid", which is wrong.
> The getPathBounds() in BasicTreeUI returns null if tree or treeState is null. 
> Fixed the javadoc.

> _Mailing list message from [Philip Race](mailto:philip.race at oracle.com) on [client-libs-dev](mailto:client-libs-dev at mail.openjdk.java.net):_
> 
> This should have had a CSR. Valid -> Invalid is fixing a typo for sure but a very significant one in the context.
> 
> Please retroactively submit the CSR.
> 
> -phil.
> 
> On 2/11/22 1:43 AM, Prasanta Sadhukhan wrote:

CSR raised [JDK-8281692](https://bugs.openjdk.java.net/browse/JDK-8281692)

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

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



More information about the client-libs-dev mailing list