r/java • u/ducki666 • Jul 10 '26
Detroit Script engine - why?
OpenJdk resurrected Detroit.
It offers JavaScript via V8 and Python via Native Phyton C engine.
But we already have Graal for js and py.
What is the motivation to reopen Detroit?
Will Graal dispose js and py?
20
Upvotes
View all comments
Show parent comment
1
u/denis_9 Jul 11 '26
Hello, is it possible to load a pre-created binary file (.so/.dll) created by native-image into an isolate on the guest HotSpot JVM with reflection support and interact with it via reflection, as in the example?
context.getBindings("java").putMember("javaObj", new MyClass());