use of org.graalvm.polyglot.impl.AbstractPolyglotImpl in project graal by oracle.
the class RemoteSLTest method getPolyglotImpl.
private static AbstractPolyglotImpl getPolyglotImpl() throws Throwable {
Class<?> implHolder = Class.forName(Engine.class.getName() + "$ImplHolder");
Field f = implHolder.getDeclaredField("IMPL");
ReflectionUtils.setAccessible(f, true);
return (AbstractPolyglotImpl) f.get(null);
}
Aggregations