On Thu, 11 Jan 2024 18:43:00 GMT, Rajat Mahajan <[email protected]> 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

Reply via email to