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

Sergey Bylokhov serb at openjdk.org
Wed May 24 02:59:12 UTC 2023


On Mon, 22 May 2023 14:36:08 GMT, Tejesh R <tr at openjdk.org> wrote:

>> Open source few AWT ScrollPane related tests.
>
> Tejesh R has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Updated based on review comments

test/jdk/java/awt/ScrollPane/ScrollPositionIntact.java line 91:

> 89:                 int i = (int) (sp.getScrollPosition().getX());
> 90:                 if (i == 0) {
> 91:                     // actual position MAY be not equal to X_POS; still, it must be > 0.

If the valid value is "> 0" only, then we should throw an exception if the value is "<=0"

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

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



More information about the client-libs-dev mailing list