Replies: 3 comments 3 replies
-
|
The constructor is not |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thank you for your answer, but I get the same Exception with |
Beta Was this translation helpful? Give feedback.
1 reply
-
public static void main(String[] args) {
try (V8Runtime v8Runtime = V8Host.getV8Instance().createV8Runtime()) {
v8Runtime.setConverter(new JavetProxyConverter());
v8Runtime.getGlobalObject().set("A", A.class);
v8Runtime.getGlobalObject().set("A.B", A.B.class);
v8Runtime.getExecutor("new A.B()").executeVoid();
} catch (JavetException e) {
throw new RuntimeException(e);
}
}Still the same Exception. Or did you mean something else by inject? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
is it possible to create instances of nested classes?
I tried the following:
Results in:
Can you tell me how I can achieve this?
Beta Was this translation helpful? Give feedback.
All reactions