poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1838702 - /poi/trunk/jenkins/create_jobs.groovy
Date Thu, 23 Aug 2018 09:03:49 GMT
Author: centic
Date: Thu Aug 23 09:03:49 2018
New Revision: 1838702

URL: http://svn.apache.org/viewvc?rev=1838702&view=rev
Log:
Adjust job for JDK 11 to not require module java.xml.bind any more

Modified:
    poi/trunk/jenkins/create_jobs.groovy

Modified: poi/trunk/jenkins/create_jobs.groovy
URL: http://svn.apache.org/viewvc/poi/trunk/jenkins/create_jobs.groovy?rev=1838702&r1=1838701&r2=1838702&view=diff
==============================================================================
--- poi/trunk/jenkins/create_jobs.groovy (original)
+++ poi/trunk/jenkins/create_jobs.groovy Thu Aug 23 09:03:49 2018
@@ -62,7 +62,7 @@ def poijobs = [
                        '-Djava9addopens3=--add-opens=java.base/java.nio=ALL-UNNAMED',
                        '-Djava9addopens4=--add-opens=java.base/java.lang=ALL-UNNAMED',
                        '-Djava9addopens5=--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED',
-                       '-Djava9addopens6=--add-opens=java.base/java.lang=java.xml.bind',
+                       '-Djava9addopens6=-Dthis.is.a.dummy=true',
                        '-Djava.locale.providers=JRE,CLDR'],
           skipcigame: true
         ],
@@ -215,8 +215,9 @@ poijobs.each { poijob ->
         label(slaves)
         environmentVariables {
             env('LANG', 'en_US.UTF-8')
-            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
+            if(jdkKey == '1.9' || jdkKey == '1.10') {
+                // when using JDK 9/10 for running Ant, we need to provide more modules for
the forbidden-api-checks task
+                // on JDK 11 there is no such module any more, so do not add it here
                 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')
             }
             env('FORREST_HOME', poijob.windows ? 'f:\\jenkins\\tools\\forrest\\latest' :
'/home/jenkins/tools/forrest/latest')



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message