use of org.graalvm.tools.lsp.server.utils.TextDocumentSurrogateMap in project graal by oracle.
the class TruffleAdapter method initSurrogateMap.
private void initSurrogateMap() {
try {
contextAwareExecutor.executeWithDefaultContext(() -> {
logger.log(Level.CONFIG, "Truffle Runtime: {0}", Truffle.getRuntime().getName());
return null;
}).get();
this.surrogateMap = new TextDocumentSurrogateMap(envInternal);
} catch (InterruptedException | ExecutionException e) {
throw new RuntimeException(e);
}
}
Aggregations