[jdk11u-dev] RFR: 8306575: Clean up and open source four Dialog related tests [v2]

Martin Doerr mdoerr at openjdk.org
Thu Sep 7 09:45:53 UTC 2023


On Thu, 7 Sep 2023 09:35:40 GMT, Andrew Lu <andrewlu at openjdk.org> wrote:

>> I backport this for parity with 11.0.21-oracle.
>> 
>> test/jdk/java/awt/Dialog/DialogLocationTest.java
>> "random.nextInt(insetX, width - 300)" is modified as random.nextInt(int origin, int bound) is not supported in jdk11.
>> 
>> "System.out.println(message.formatted(newX, newY, eventLoc.x, eventLoc.y, eventLoc.x - newX, eventLoc.y - newY))"
>> is also modified as String.formatted(Object... args) is not supported in jdk11.
>
> Andrew Lu has updated the pull request incrementally with one additional commit since the last revision:
> 
>   fix code

Backport looks good. Did you test it manually?

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

Marked as reviewed by mdoerr (Reviewer).

PR Review: https://git.openjdk.org/jdk11u-dev/pull/2088#pullrequestreview-1615034846


More information about the jdk-updates-dev mailing list