aboutsummaryrefslogtreecommitdiff
path: root/stage1/ContextImplementation.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-10-07 00:24:14 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2016-10-07 20:05:57 -0400
commit8529a70358921af282920c216a81609292c8ba6a (patch)
tree04a23a27b41c55fc6c5ab42c79406d2f41e14b79 /stage1/ContextImplementation.scala
parent95728f6041a32e081a1f4129b8483ef622179b45 (diff)
downloadcbt-8529a70358921af282920c216a81609292c8ba6a.tar.gz
cbt-8529a70358921af282920c216a81609292c8ba6a.tar.bz2
cbt-8529a70358921af282920c216a81609292c8ba6a.zip
Fix exit code trapping across classloaders
A SecurityManager is once installed globally and stays the same across all classloaders. TrapSecurityManager was installed this way, but it looked up the `trapExitCode` in it's own classloader, while classes in other classloaders (when cbt was using another version of cbt) were writing it to their own classloader. This flag needs to be in a global place instead to fix this, so we'll put it straight into the TrapSecurityManager itself.
Diffstat (limited to 'stage1/ContextImplementation.scala')
0 files changed, 0 insertions, 0 deletions