PolyglotRuntime(DispatchOutputStream out, DispatchOutputStream err, InputStream in, boolean automaticDispose) { PolyglotEngine.ensureInitialized(); this.engineProfile = PolyglotEngine.GLOBAL_PROFILE; this.instrumentationHandler = INSTRUMENT.createInstrumentationHandler(this, out, err, in);
private PolyglotEngineImpl(PolyglotImpl impl, DispatchOutputStream out, DispatchOutputStream err, InputStream in, Map<String, String> options, boolean useSystemProperties, ClassLoader contextClassLoader, boolean boundEngine, boolean preInitialization, MessageTransport messageInterceptor, Handler logHandler) { super(impl); this.instrumentationHandler = INSTRUMENT.createInstrumentationHandler(this, out, err, in, messageInterceptor); this.impl = impl; this.out = out;
private PolyglotEngineImpl(PolyglotImpl impl, DispatchOutputStream out, DispatchOutputStream err, InputStream in, Map<String, String> options, long timeout, TimeUnit timeoutUnit, boolean sandbox, boolean useSystemProperties, ClassLoader contextClassLoader, boolean boundEngine, boolean preInitialization) { super(impl); this.instrumentationHandler = INSTRUMENT.createInstrumentationHandler(this, out, err, in); this.impl = impl; this.out = out;