[jdk8u-dev] RFR: 8129827: [TEST_BUG] Test java/awt/Robot/RobotWheelTest/RobotWheelTest.java fails [v2]

Joshua Cao duke at openjdk.org
Fri Nov 18 15:09:51 UTC 2022


> Parity with Oracle. This patch is applied on top of https://github.com/openjdk/jdk8u-dev/pull/140. Does not apply cleanly, mostly due to surrounding context missing from the following:
> 
> * https://bugs.openjdk.org/browse/JDK-8210039 (don't think there are plans to backport this to JDK8)
> * https://bugs.openjdk.org/browse/JDK-8159690 (open issue to backport this to 8, but has not been active for >1 year. might get backported)
> 
> Only one serious conflict. We cannot use
> 
> 
> private static int wheelSign = Platform.isOSX() ? -1 : 1;
> 
> 
> Since https://bugs.openjdk.org/browse/JDK-8210039 is missing in JDK8, we don't have 
> 
> 
> import jdk.test.lib.Platform;
> 
> 
> Alternatively, I use the old code to get OS:
> 
> 
> private static int wheelSign = OSInfo.getOSType().equals(OSInfo.OSType.MACOSX) ? -1 : 1;

Joshua Cao has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase.

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

Changes:
  - all: https://git.openjdk.org/jdk8u-dev/pull/141/files
  - new: https://git.openjdk.org/jdk8u-dev/pull/141/files/f144ec00..f144ec00

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

  Stats: 0 lines in 0 files changed: 0 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk8u-dev/pull/141.diff
  Fetch: git fetch https://git.openjdk.org/jdk8u-dev pull/141/head:pull/141

PR: https://git.openjdk.org/jdk8u-dev/pull/141


More information about the jdk8u-dev mailing list