Add more --add-opens for JDK 9
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1805517 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b233345510
commit
68a829067a
@ -190,7 +190,7 @@ poijobs.each { poijob ->
|
||||
env('LANG', 'en_US.UTF-8')
|
||||
if(jdkKey == '1.9') {
|
||||
// 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')
|
||||
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')
|
||||
}
|
||||
}
|
||||
wrappers {
|
||||
|
Loading…
Reference in New Issue
Block a user