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

Andrew Lu andrewlu at openjdk.org
Thu Sep 7 09:35:40 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.

Andrew Lu has updated the pull request incrementally with one additional commit since the last revision:

  fix code

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

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/2088/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/2088/files/c410b628..2a97ebb5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2088&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2088&range=00-01

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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