From 1ef368ab02973bf23fc4e57c6b1b589ca5eaf3a3 Mon Sep 17 00:00:00 2001 From: Andreas Beeker Date: Sun, 29 Aug 2021 19:44:37 +0000 Subject: [PATCH] exclude HeapDump class for ibm build git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1892706 13f79535-47bb-0310-9956-ffa450edef68 --- poi-integration/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/poi-integration/build.gradle b/poi-integration/build.gradle index fa1e0aa3ca..70d6664e74 100644 --- a/poi-integration/build.gradle +++ b/poi-integration/build.gradle @@ -20,6 +20,7 @@ import java.util.regex.Pattern final String TEST9_SRC = 'src/test/java9' final String TEST9_OUT = "${buildDir}/classes/java9/test/" final String VERSIONS9 = 'META-INF/versions/9' +final boolean IBMVM = System.getProperty("java.vendor").contains("IBM") configurations { tests @@ -30,6 +31,9 @@ sourceSets { if (JavaVersion.current() != JavaVersion.VERSION_1_8) { output.dir(TEST9_OUT, builtBy: 'cacheTest9') } + if (IBMVM) { + exclude '**/HeapDump**' + } } } -- 2.39.5