Closed cristiannandrean closed 8 months ago
the same for jdk 17
Any fix or workaround for this issue. would be highly appreciated
We recently posted new Monocle builds for JFX 11 and 17: https://central.sonatype.com/artifact/org.testfx/openjfx-monocle/versions
This issue is still not fixed with latest Monocle builds for JFX 11 and 17 posted on 2024-02-11. Looking forward for this fix eagerly as it is blocking our Test Automation
Please note that this is not the 'official' Monocle repository. This repository is only for generating builds to support TestFX. To report bugs for Monocle, please visit, https://github.com/openjdk/jfx, and read the section on Issue Tracking.
jdk: OpenJDK11U-jdk_x64_windows_hotspot_11.0.10_9 javafx version: 11.0.2 monocle version: jdk-11+26
JVM parameters: -Dtestfx.robot=glass -Dglass.platform=Monocle -Dmonocle.platform=Headless -Dprism.order=sw -Dprism.text=t2k
code:
Expected result: screenhsot captured Actual result: java.lang.UnsupportedOperationException at java.base/java.nio.IntBuffer.array(IntBuffer.java:1049) at com.sun.glass.ui.monocle.MonocleRobot.getScreenCapture(MonocleRobot.java:209) at com.sun.glass.ui.GlassRobot.getScreenCapture(GlassRobot.java:200)