On Mon, 22 May 2023 13:59:47 GMT, Alexey Ivanov <aiva...@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