mirror of https://github.com/apache/activemq.git
AMQ-8220 add add-opens options for Java 16
This commit is contained in:
parent
2d812f012c
commit
d1c48abaca
|
@ -349,6 +349,8 @@ invokeJar(){
|
||||||
--add-opens java.base/java.util=ALL-UNNAMED \
|
--add-opens java.base/java.util=ALL-UNNAMED \
|
||||||
--add-opens java.naming/javax.naming.spi=ALL-UNNAMED \
|
--add-opens java.naming/javax.naming.spi=ALL-UNNAMED \
|
||||||
--add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED \
|
--add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED \
|
||||||
|
--add-opens java.base/java.util.concurrent=ALL-UNNAMED \
|
||||||
|
--add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED \
|
||||||
--add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED \
|
--add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED \
|
||||||
--add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED \
|
--add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED \
|
||||||
--add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED \
|
--add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED \
|
||||||
|
@ -390,6 +392,8 @@ invokeJar(){
|
||||||
--add-opens java.base/java.util=ALL-UNNAMED \
|
--add-opens java.base/java.util=ALL-UNNAMED \
|
||||||
--add-opens java.naming/javax.naming.spi=ALL-UNNAMED \
|
--add-opens java.naming/javax.naming.spi=ALL-UNNAMED \
|
||||||
--add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED \
|
--add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED \
|
||||||
|
--add-opens java.base/java.util.concurrent=ALL-UNNAMED \
|
||||||
|
--add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED \
|
||||||
--add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED \
|
--add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED \
|
||||||
--add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED \
|
--add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED \
|
||||||
--add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED \
|
--add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED \
|
||||||
|
@ -428,6 +432,8 @@ invokeJar(){
|
||||||
--add-opens java.base/java.util=ALL-UNNAMED \
|
--add-opens java.base/java.util=ALL-UNNAMED \
|
||||||
--add-opens java.naming/javax.naming.spi=ALL-UNNAMED \
|
--add-opens java.naming/javax.naming.spi=ALL-UNNAMED \
|
||||||
--add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED \
|
--add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED \
|
||||||
|
--add-opens java.base/java.util.concurrent=ALL-UNNAMED \
|
||||||
|
--add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED \
|
||||||
--add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED \
|
--add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED \
|
||||||
--add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED \
|
--add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED \
|
||||||
--add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED \
|
--add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED \
|
||||||
|
|
|
@ -26,7 +26,7 @@ set.default.ACTIVEMQ_CONF=%ACTIVEMQ_BASE%/conf
|
||||||
set.default.ACTIVEMQ_DATA=%ACTIVEMQ_BASE%/data
|
set.default.ACTIVEMQ_DATA=%ACTIVEMQ_BASE%/data
|
||||||
|
|
||||||
# if you use JDK 9+, uncomment the following
|
# if you use JDK 9+, uncomment the following
|
||||||
#set.JDK_JAVA_OPTIONS=--add-reads=java.xml=java.logging --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.naming/javax.naming.spi=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED --add-exports=jdk.naming.rmi/com.sun.jndi.url.rmi=ALL-UNNAMED
|
#set.JDK_JAVA_OPTIONS=--add-reads=java.xml=java.logging --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens java.naming/javax.naming.spi=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED --add-exports=jdk.naming.rmi/com.sun.jndi.url.rmi=ALL-UNNAMED
|
||||||
|
|
||||||
wrapper.working.dir=.
|
wrapper.working.dir=.
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ set.default.ACTIVEMQ_CONF=%ACTIVEMQ_BASE%/conf
|
||||||
set.default.ACTIVEMQ_DATA=%ACTIVEMQ_BASE%/data
|
set.default.ACTIVEMQ_DATA=%ACTIVEMQ_BASE%/data
|
||||||
|
|
||||||
# if you use JDK 9+, uncomment the following
|
# if you use JDK 9+, uncomment the following
|
||||||
#set.JDK_JAVA_OPTIONS=--add-reads=java.xml=java.logging --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.naming/javax.naming.spi=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED --add-exports=jdk.naming.rmi/com.sun.jndi.url.rmi=ALL-UNNAMED
|
#set.JDK_JAVA_OPTIONS=--add-reads=java.xml=java.logging --add-opens java.base/java.security=ALL-UNNAMED --add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.util.concurrent=ALL-UNNAMED --add-opens java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens java.naming/javax.naming.spi=ALL-UNNAMED --add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED --add-exports=jdk.naming.rmi/com.sun.jndi.url.rmi=ALL-UNNAMED
|
||||||
|
|
||||||
wrapper.working.dir=.
|
wrapper.working.dir=.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue