summaryrefslogtreecommitdiffstats
path: root/jenkins
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2018-06-05 23:29:09 +0000
committerAndreas Beeker <kiwiwings@apache.org>2018-06-05 23:29:09 +0000
commit7c379494aa5fc71fe01f3430e239ff7f5bf0ad25 (patch)
treecf1103a73d3fab89880f580e2c45e3609ac51406 /jenkins
parent3077257645bb24b00d1018cee7f6a403cb39b22d (diff)
downloadpoi-7c379494aa5fc71fe01f3430e239ff7f5bf0ad25.tar.gz
poi-7c379494aa5fc71fe01f3430e239ff7f5bf0ad25.zip
fix forbidden-apis for jdk10+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832979 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'jenkins')
-rw-r--r--jenkins/create_jobs.groovy2
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy
index fdbe5fc2be..490ff8cec4 100644
--- a/jenkins/create_jobs.groovy
+++ b/jenkins/create_jobs.groovy
@@ -199,7 +199,7 @@ poijobs.each { poijob ->
label(slaves)
environmentVariables {
env('LANG', 'en_US.UTF-8')
- if(jdkKey == '1.9') {
+ if(jdkKey == '1.9' || jdkKey == '1.10' || jdkKey == '1.11') {
// when using JDK 9 for running Ant, we need to provide more packages for the forbidden-api-checks task
env('ANT_OPTS', '--add-modules=java.xml.bind --add-opens=java.xml/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED')
}