You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rz...@apache.org on 2022/04/26 18:47:36 UTC
[tomee-tck] branch jakartaee9-tck updated: Explicitly set a higher stacksize to be able to run with Java 11
This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a commit to branch jakartaee9-tck
in repository https://gitbox.apache.org/repos/asf/tomee-tck.git
The following commit(s) were added to refs/heads/jakartaee9-tck by this push:
new 481c462 Explicitly set a higher stacksize to be able to run with Java 11
481c462 is described below
commit 481c46239b5ce40db93e1b73df25c9b0be6fa2bc
Author: Richard Zowalla <rz...@apache.org>
AuthorDate: Tue Apr 26 20:47:29 2022 +0200
Explicitly set a higher stacksize to be able to run with Java 11
---
src/test/script/openejb/tck/commands/JavaTestCommand.groovy | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/test/script/openejb/tck/commands/JavaTestCommand.groovy b/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
index db01a0d..7199069 100644
--- a/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
+++ b/src/test/script/openejb/tck/commands/JavaTestCommand.groovy
@@ -171,6 +171,9 @@ class JavaTestCommand
//
def node = current.wrapper
+ // Force a higher stack size to avoid StackOverflowError for classpath building if run with Java 11 (default: 256kb)
+ jvmarg(value: '-Xss4m');
+
// Maybe set timeout
if (timeout > 0) {
log.info("Timeout after: ${timeout} seconds");