From 02f2481d219c156f1acc6a5980550767de342a73 Mon Sep 17 00:00:00 2001 From: Dominik Stadler Date: Fri, 30 Dec 2016 17:00:13 +0000 Subject: [PATCH] Allow to set the new --add-opens argument for JDK 9, scratchpad tests require slightly more memory on JDK 9 now, also adjust the Jenkins DSL accordingly. git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776608 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 52 +++++++++++++++++++++++++++++++++++--- jenkins/create_jobs.groovy | 9 ++++++- 2 files changed, 56 insertions(+), 5 deletions(-) diff --git a/build.xml b/build.xml index dce47631c2..a913bc3ac7 100644 --- a/build.xml +++ b/build.xml @@ -307,6 +307,10 @@ under the License. + + + + @@ -1260,6 +1264,11 @@ under the License. + + + + + @@ -1320,6 +1329,10 @@ under the License. + + + + @@ -1368,9 +1381,13 @@ under the License. Without the line below tests fail on Mac OS X with jdk-1.6.26 and on Windows with jdk-1.5.22 --> - + + + + + @@ -1413,7 +1430,12 @@ under the License. - + + + + + + @@ -1440,6 +1462,10 @@ under the License. + + + + @@ -1485,7 +1511,11 @@ under the License. - + + + + + @@ -1535,6 +1565,10 @@ under the License. + + + + @@ -1589,6 +1623,11 @@ under the License. + + + + + @@ -1628,6 +1667,11 @@ under the License. + + + + + @@ -2690,4 +2734,4 @@ under the License. ]]> - \ No newline at end of file + diff --git a/jenkins/create_jobs.groovy b/jenkins/create_jobs.groovy index 9973acb2eb..1c6712ec07 100644 --- a/jenkins/create_jobs.groovy +++ b/jenkins/create_jobs.groovy @@ -27,7 +27,14 @@ def poijobs = [ skipcigame: true ], [ name: 'POI-DSL-1.9', jdks: ['1.9'], trigger: triggerSundays, - properties: ['-Dmaxpermsize=-Dthis.is.a.dummy=true', '-Djava9addmods=--add-modules=java.xml.bind', '-Djava9addmodsvalue=-Dsun.reflect.debugModuleAccessChecks=true', '-Djava.locale.providers=JRE,CLDR'], + properties: ['-Dmaxpermsize=-Dthis.is.a.dummy=true', + '-Djava9addmods=--add-modules=java.xml.bind', + '-Djava9addmodsvalue=-Dsun.reflect.debugModuleAccessChecks=true', + '-Djava9addopens1=--add-opens=java.base/com.sun.org.apache.xerces.internal.util=ALL-UNNAMED', + '-Djava9addopens2=--add-opens=java.base/java.io=ALL-UNNAMED', + '-Djava9addopens3=--add-opens=java.base/java.nio=ALL-UNNAMED', + '-Djava9addopens4=--add-opens=java.base/java.lang=ALL-UNNAMED', + '-Djava.locale.providers=JRE,CLDR'], email: 'centic@apache.org', skipcigame: true ], [ name: 'POI-DSL-IBM-JDK', jdks: ['IBMJDK'], trigger: triggerSundays, noScratchpad: true,