adding -Xcheck:jni to the build parameters

As recommended on http://stackoverflow.com/questions/32871715/why-newglobalref-will-core-dump-on-jni-on-an-ibm-jdk/32905153#32905153
This commit is contained in:
Clebert Suconic 2015-10-02 15:08:44 -04:00
parent 60ac5eebb2
commit c89316623f
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@
<activemq-surefire-argline>-Djava.util.logging.manager=org.jboss.logmanager.LogManager
-Dlogging.configuration=file:${activemq.basedir}/tests/config/logging.properties
-Djava.library.path=${activemq.basedir}/artemis-native/bin/ -Djgroups.bind_addr=localhost -Dorg.apache.activemq.artemis.api.core.UDPBroadcastEndpointFactory.localBindAddress=localhost
-Djava.net.preferIPv4Stack=true
-Djava.net.preferIPv4Stack=true -Xcheck:jni
</activemq-surefire-argline>
<activemq.basedir>${project.basedir}</activemq.basedir>
<skipLicenseCheck>true</skipLicenseCheck>