[jdk8u-dev] RFR: 8129827: [TEST_BUG] Test java/awt/Robot/RobotWheelTest/RobotWheelTest.java fails
Joshua Cao
duke at openjdk.org
Sun Oct 16 05:47:37 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;
-------------
Depends on: https://git.openjdk.org/jdk8u-dev/pull/140
Commit messages:
- 8129827: [TEST_BUG] Test java/awt/Robot/RobotWheelTest/RobotWheelTest.java fails
Changes: https://git.openjdk.org/jdk8u-dev/pull/141/files
Webrev: https://webrevs.openjdk.org/?repo=jdk8u-dev&pr=141&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8129827
Stats: 42 lines in 1 file changed: 32 ins; 5 del; 5 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