This is an automated email from the ASF dual-hosted git repository.

eolivelli pushed a commit to branch 2.7.2_ds_tmp
in repository https://gitbox.apache.org/repos/asf/pulsar.git

commit 65f744f5ba3fe25c97c1d327394fddf70e8eb015
Author: ming luo <itestmyc...@gmail.com>
AuthorDate: Tue Jan 12 23:10:56 2021 +0000

    suppress nashorn warning in JDK11 runtime
    
    (cherry picked from commit cebcc97f33a6c9b2c76b5708d400229ca08e941d)
---
 bin/pulsar-admin-common.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/pulsar-admin-common.sh b/bin/pulsar-admin-common.sh
index 0ccfc70..8f7256f 100755
--- a/bin/pulsar-admin-common.sh
+++ b/bin/pulsar-admin-common.sh
@@ -87,6 +87,7 @@ 
PULSAR_CLASSPATH="$PULSAR_JAR:$PULSAR_CLASSPATH:$PULSAR_EXTRA_CLASSPATH"
 PULSAR_CLASSPATH="`dirname $PULSAR_LOG_CONF`:$PULSAR_CLASSPATH"
 OPTS="$OPTS -Dlog4j.configurationFile=`basename $PULSAR_LOG_CONF`"
 OPTS="$OPTS -Djava.net.preferIPv4Stack=true"
+OPTS="$OPTS -Dnashorn.args=--no-deprecation-warning"
 
 OPTS="-cp $PULSAR_CLASSPATH $OPTS"
 

Reply via email to