RFR: 8306137: Open source several AWT ScrollPane related tests [v10]

Tejesh R tr at openjdk.org
Mon May 22 14:17:11 UTC 2023


On Mon, 22 May 2023 13:59:47 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Child location is expected to be 0,0 as explained in the test, whereas parents position is -500, hence no exception is thrown.
>
> Yes, this is adding the suggested print will resolve all the confusion because you will see:
> 
> 
> ...
> Scroll pos = java.awt.Point[x=0,y=50000]
> Child pos = java.awt.Point[x=0,y=0]
> Child's parent pos = java.awt.Point[x=0,y=-50000]
> 
> 
> Isn't it clearer?

Yeah, can do it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13621#discussion_r1200577827



More information about the client-libs-dev mailing list