MCPcopy Create free account
hub / github.com/Firebasky/Java / eval

Method eval

shell/ScriptEngineManager/test.java:20–29  ·  view source on GitHub ↗
(String payload)

Source from the content-addressed store, hash-verified

18 eval(payload1);
19 }
20 public static void eval(String payload){
21 payload=payload;
22 ScriptEngineManager manager = new ScriptEngineManager(null);
23 ScriptEngine engine = manager.getEngineByName("js");
24 try {
25 engine.eval(payload);
26 } catch (Exception e) {
27 e.printStackTrace();
28 }
29 }
30}

Callers 4

mainMethod · 0.95
ELevalMethod · 0.80
demo.javaFile · 0.80
mainMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected