You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
[](https://gitter.im/graalvm/graaljs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Copy file name to clipboardExpand all lines: docs/user/JavaInterop.md
+5-2
Original file line number
Diff line number
Diff line change
@@ -30,10 +30,13 @@ The method `Java.addToClasspath()` can be used to programmatically add to the cl
30
30
31
31
### Polyglot Context
32
32
The preferred method of launching GraalVM JavaScript with Java interop support instance is via polyglot `Context`.
33
-
For that, a new `org.graalvm.polyglot.Context` is built with the `hostAccess` option set:
33
+
For that, a new `org.graalvm.polyglot.Context` is built with the `hostAccess` option allowing access and a `hostClassLookup` predicate defining the Java classes you allow access to:
0 commit comments