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

Martin Doerr mdoerr at openjdk.org
Wed Sep 13 21:00:57 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

GHA Pre-submit test failures are unrelated.

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

PR Comment: https://git.openjdk.org/jdk11u-dev/pull/2088#issuecomment-1718306119


More information about the jdk-updates-dev mailing list