Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 186ab2e

Browse files
remove unnecessary options
1 parent 7ff7de1 commit 186ab2e

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

standalone/src/main/java/com/trivadis/plsql/formatter/TvdFormat.java

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,8 @@ public class TvdFormat {
1616
TvdFormat() {
1717
scriptEngine = GraalJSScriptEngine.create(null,
1818
Context.newBuilder("js")
19-
.option("js.nashorn-compat", "true")
20-
.allowHostAccess(true)
21-
.allowNativeAccess(true)
22-
.allowCreateThread(true)
23-
.allowIO(true)
24-
.allowHostClassLoading(true)
25-
.allowHostClassLookup((Predicate<String>) s -> true)
26-
.allowAllAccess(true));
19+
.option("js.nashorn-compat", "true")
20+
.allowAllAccess(true));
2721
ctx = new ScriptRunnerContext();
2822
ctx.setOutputStream(System.out);
2923
scriptEngine.getContext().setAttribute("ctx", ctx, ScriptContext.ENGINE_SCOPE);

0 commit comments

Comments
 (0)