RFR: 8301994: Remove unused code from awt_List.cpp

Alexey Ivanov aivanov at openjdk.org
Fri Jan 12 14:53:24 UTC 2024


On Thu, 11 Jan 2024 18:43:00 GMT, Rajat Mahajan <rmahajan at openjdk.org> wrote:

> Remove commented out/ unused code from awt_List.cpp, which has been commented out since 2007, when the code was moved to Mercurial.
> The test ScrollPaneLimitation.java has been opened under [JDK-8306137](https://bugs.openjdk.org/browse/JDK-8306137), and it should be safe to remove this code now.

src/java.desktop/windows/native/libawt/windows/awt_List.cpp line 173:

> 171: {
> 172:     AwtComponent::Reshape(x, y, w, h);
> 173: 

I would also remove the blank line in the end of the function, it's uncommon to end a function with a blank line.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17378#discussion_r1450551900


More information about the client-libs-dev mailing list