Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
The shell uses the JLine ConsoleReader class. That class spawns a thread on construction (tsk-tsk) for its internal non-blocking input stream representation. If the ConsoleReader is not shut down properly, the thread keeps running. This is particularly a problem when running ShellServerIT under 1.6 and later; the JVM can run out of memory to allocate threads and fail the test.