jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject [jmeter] branch master updated: Mention deprecation of Nashorn in changes.xml
Date Wed, 09 Oct 2019 19:00:44 GMT
This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new 7645c7d  Mention deprecation of Nashorn in changes.xml
7645c7d is described below

commit 7645c7d1a8686b714e94b359bbe1c2355d50dd78
Author: Felix Schumacher <felix.schumacher@internetallee.de>
AuthorDate: Wed Oct 9 15:26:09 2019 +0200

    Mention deprecation of Nashorn in changes.xml
---
 xdocs/changes.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/xdocs/changes.xml b/xdocs/changes.xml
index 48c6b6f..fbb0368 100644
--- a/xdocs/changes.xml
+++ b/xdocs/changes.xml
@@ -345,6 +345,19 @@ JTable selection with keyboard (<keycombo><keysym>SHIFT</keysym><keysym>up/down<
 This is due to a known Java bug <a href="https://bugs.openjdk.java.net/browse/JDK-8025126"
>JDK-8025126</a>
 The fix is to use JDK 8 b132 or later.
 </li>
+
+<li>
+Since Java 11 the JavaScript implementation <a href="https://openjdk.java.net/jeps/335">Nashorn
has been deprecated</a>.
+Java will emit the following deprecation warnings, if you are using JavaScript based on Nashorn.
+<source>
+Warning: Nashorn engine is planned to be removed from a future JDK release
+</source>
+To silence these warnings, add <code>-Dnashorn.args=--no-deprecation-warning</code>
to your Java arguments.
+That can be achieved by setting the enviroment variable <code>JVM_ARGS</code>
+<source>
+export JVM_ARGS="-Dnashorn.args=--no-deprecation-warning"
+</source>
+</li>
 </ul>
 
 </section>


Mime
View raw message