As a workaround changing the method that filters out valid resolutions to not allow resolutions unsupported by Apple m1/m2 chips to be reported back to Java side.
Also removing test from problem list as it should pass again now. ------------- Commit messages: - Rolling back additional unneeded changes - Removing some strange autocorrect in comments. - 8266242: java/awt/GraphicsDevice/CheckDisplayModes.java failing on macOS 11 ARM Changes: https://git.openjdk.org/jdk/pull/16169/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16169&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8266242 Stats: 14 lines in 2 files changed: 11 ins; 1 del; 2 mod Patch: https://git.openjdk.org/jdk/pull/16169.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/16169/head:pull/16169 PR: https://git.openjdk.org/jdk/pull/16169
