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/incubator-netbeans-html4j.git
The following commit(s) were added to refs/heads/master by this push:
new 0022803 Truffle objects are also JavaScript-ready
0022803 is described below
commit 0022803a93f90de1f7da00f5ec4909a705dd0955
Author: Jaroslav Tulach <[email protected]>
AuthorDate: Mon Feb 5 17:40:06 2018 +0100
Truffle objects are also JavaScript-ready
---
.../src/main/java/net/java/html/boot/script/ScriptPresenter.java | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git
a/boot-script/src/main/java/net/java/html/boot/script/ScriptPresenter.java
b/boot-script/src/main/java/net/java/html/boot/script/ScriptPresenter.java
index 7fffdb9..e004f46 100644
--- a/boot-script/src/main/java/net/java/html/boot/script/ScriptPresenter.java
+++ b/boot-script/src/main/java/net/java/html/boot/script/ScriptPresenter.java
@@ -322,9 +322,11 @@ Presenter, Fn.FromJavaScript, Fn.ToJavaScript, Executor {
return true;
}
final String cn = obj.getClass().getName();
- if (cn.startsWith("jdk.nashorn") || ( // NOI18N
- cn.contains(".mozilla.") && cn.contains(".Native") // NOI18N
- )) {
+ if (
+ cn.startsWith("com.oracle.truffle") || // NOI18N
+ cn.startsWith("jdk.nashorn") || // NOI18N
+ (cn.contains(".mozilla.") && cn.contains(".Native")) // NOI18N
+ ) {
return true;
}
if (obj instanceof Character) {
--
To stop receiving notification emails like this one, please contact
[email protected].
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists