V8Flags constructor is now private #187
alphatheory-rlazarski
started this conversation in
General
Replies: 2 comments 1 reply
-
V8 v10.5 introduces a breaking change. Please check out this file for the new way of setting the flags. My bad, the doc hasn't been updated yet. I'll correct it soon. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the reply. I looked at the code you linked. I am still unsure about instantiation because that unit test is in the same package as V8Flags, while when I try to instantiate it in my packages via "new V8Flags()" I get the compile error below: V8Flags() is not public in V8Flags; cannot be accessed from outside package |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, thanks for the great project.
In 1.17, V8Flags changed. After reading the source code and unit tests, I cannot find a way to set the flags to custom values outside of the interop.options package.
I just need to refactor this code to the latest javet but it's not clear to me how to get an instance of V8Flags to do it:
Beta Was this translation helpful? Give feedback.
All reactions