[jdk11u-dev] RFR: 8306575: Clean up and open source four Dialog related tests
Andrew Lu
andrewlu at openjdk.org
Fri Aug 18 06:11:16 UTC 2023
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.
-------------
Commit messages:
- Backport 8d696aea9e1cefca97a760c017a5fde545facaa9
Changes: https://git.openjdk.org/jdk11u-dev/pull/2088/files
Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2088&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8306575
Stats: 581 lines in 4 files changed: 581 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk11u-dev/pull/2088.diff
Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2088/head:pull/2088
PR: https://git.openjdk.org/jdk11u-dev/pull/2088
More information about the jdk-updates-dev
mailing list