Norman Maurer 63bae0956a Ensure ThreadDeathWatcher and GlobalEventExecutor will not cause classloader leaks.
Motivation:

ThreadDeathWatcher and GlobalEventExecutor may create and start a new thread from various other threads and so inherit the classloader. We need to ensure we not inherit to allow recycling the classloader.

Modifications:

Use Thread.setContextClassLoader(null) to ensure we not hold a strong reference to the classloader and so not leak it.

Result:

Fixes [#7290].
2017-12-12 09:06:54 +01:00
..
2017-02-22 07:31:07 +01:00
2016-01-04 14:32:29 +01:00
2017-04-20 04:56:09 +02:00
2012-12-26 13:50:01 +09:00
2012-06-04 13:31:44 -07:00
2014-07-02 19:55:07 +09:00