MCPcopy Create free account
hub / github.com/beanshell/beanshell / setShutdownOnExit

Method setShutdownOnExit

src/bsh/Interpreter.java:1259–1265  ·  view source on GitHub ↗
(final boolean value)

Source from the content-addressed store, hash-verified

1257 }
1258
1259 public static void setShutdownOnExit(final boolean value) {
1260 try {
1261 SYSTEM_OBJECT.getNameSpace().setVariable("shutdownOnExit", Boolean.valueOf(value), false);
1262 } catch (final UtilEvalError utilEvalError) {
1263 throw new IllegalStateException(utilEvalError);
1264 }
1265 }
1266
1267
1268 /**

Callers 1

check_system_objectMethod · 0.95

Calls 2

setVariableMethod · 0.45
getNameSpaceMethod · 0.45

Tested by 1

check_system_objectMethod · 0.76