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 <jaroslav.tul...@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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to