mirror of https://github.com/apache/poi.git
fix forbidden-apis for jdk10+
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832979 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3077257645
commit
7c379494aa
|
@ -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')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue