We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3b0a7d commit 29afcaaCopy full SHA for 29afcaa
jck/jtrunner/JavatestUtil.java
@@ -543,6 +543,8 @@ private static boolean generateJTB() throws Exception {
543
if ( testsRequireDisplay(tests) ) {
544
if (spec.contains("zos") || spec.contains("alpine-linux") || spec.contains("riscv")) {
545
fileContent += "set jck.env.testPlatform.headless Yes" + ";\n";
546
+ // Ensure JVM graphical device and system are headless, regardless of environment DISPLAY
547
+ jvmOpts += "-Djava.awt.headless=true ";
548
}
549
else {
550
if ( !spec.contains("win") ) {
0 commit comments