[jdk8u-dev] RFR: 8129827: [TEST_BUG] Test java/awt/Robot/RobotWheelTest/RobotWheelTest.java fails
Joshua Cao
duke at openjdk.org
Thu Nov 17 23:05:28 UTC 2022
On Sun, 16 Oct 2022 05:39:23 GMT, Joshua Cao <duke at openjdk.org> wrote:
> 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;
ping so the PR is still active. waiting on `jdk-8u-fix-yes` label
-------------
PR: https://git.openjdk.org/jdk8u-dev/pull/141
More information about the jdk8u-dev
mailing list