You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by jt...@apache.org on 2022/07/05 05:37:04 UTC
[netbeans-html4j] 01/02: Suppress Graal.js interpreter warning
This is an automated email from the ASF dual-hosted git repository.
jtulach pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/netbeans-html4j.git
commit af9b7e12d1330bbfdbe002f84531f95a25605238
Author: Jaroslav Tulach <ja...@apidesign.org>
AuthorDate: Tue Jul 5 07:35:42 2022 +0200
Suppress Graal.js interpreter warning
---
.../src/test/java/org/netbeans/html/presenters/spi/test/Testing.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/generic/src/test/java/org/netbeans/html/presenters/spi/test/Testing.java b/generic/src/test/java/org/netbeans/html/presenters/spi/test/Testing.java
index 30fa7892..53038866 100644
--- a/generic/src/test/java/org/netbeans/html/presenters/spi/test/Testing.java
+++ b/generic/src/test/java/org/netbeans/html/presenters/spi/test/Testing.java
@@ -31,6 +31,9 @@ import org.netbeans.html.presenters.spi.ProtoPresenter;
import org.netbeans.html.presenters.spi.ProtoPresenterBuilder;
class Testing {
+ static {
+ System.setProperty("polyglot.engine.WarnInterpreterOnly", "false");
+ }
static final Logger LOG = Logger.getLogger(Testing.class.getName());
final Executor QUEUE;
final ScriptEngine eng;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists