]> source.dussan.org Git - poi.git/commitdiff
Add required --add-opens and other settings for JDK 12 on Windows
authorDominik Stadler <centic@apache.org>
Tue, 22 Jan 2019 10:45:26 +0000 (10:45 +0000)
committerDominik Stadler <centic@apache.org>
Tue, 22 Jan 2019 10:45:26 +0000 (10:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1851804 13f79535-47bb-0310-9956-ffa450edef68

jenkins/create_jobs.groovy

index f15e9b64f95843e82c922161b049fc3776562a64..ca1d082d6ba2942297c8fe6a1cfcb98fb52ce890 100644 (file)
@@ -105,6 +105,13 @@ def poijobs = [
         [ name: 'POI-DSL-Windows-1.8', trigger: 'H */12 * * *', windows: true, slaves: 'Windows'
         ],
         [ name: 'POI-DSL-Windows-1.12', jdk: '1.12', trigger: triggerSundays, windows: true, slaves: 'Windows',
+                properties: ['-Djava9addmodsvalue=-Dsun.reflect.debugModuleAccessChecks=true',
+                       '-Djava9addopens1=--add-opens=java.xml/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',
+                       '-Djava9addopens5=--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED',
+                       '-Djava.locale.providers=JRE,CLDR'],
                 skipcigame: true
         ],
         [ name: 'POI-DSL-Github-PullRequests', trigger: '', githubpr: true, skipcigame: true,