Title: jansi-*.dll left to %TMP% on Windows
Type: Severity: normal
Components: Versions: Jython 2.7
Status: open Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: pekka.klarck, zyasoft
Priority: low Keywords:

Created on 2015-02-17.13:26:44 by pekka.klarck, last changed 2016-01-11.04:20:55 by zyasoft.

msg9526 (view) Author: Pekka Klärck (pekka.klarck) Date: 2015-02-17.13:26:44
Every time Jython runs, it leaves jansi-*.dll file to %TMP% directory on Windows. These files are only ~20kB, but they nevertheless unnecessarily fill up %TMP%.

Apparently these jansi-*.dll files are created by jline. I didn't notice any jansi files created to /tmp on Linux.

See also issue #2269 about jffi.*tmp files also left to %TMP% on Windows.
msg9654 (view) Author: Jim Baker (zyasoft) Date: 2015-03-14.18:36:25
Bug still present in latest version of JLine 2.12.1. Presumably a similar bug fix seen in JFFI support should be upstreamed to JLine's dependency, JAnsi

Note that neither JAnsi or JLine report this issue, but perhaps because this is only seen on Windows.

Postponed until upstream fix
msg10621 (view) Author: Jim Baker (zyasoft) Date: 2016-01-11.04:20:55
Still present in the latest JLine (2.13). Any fix will slip to 2.7.2 (or later).
Date User Action Args
2016-01-11 04:20:55zyasoftsetpriority: normal -> low
messages: + msg10621
2015-03-14 18:38:03zyasoftsetversions: + Jython 2.7
2015-03-14 18:37:59zyasoftsetpriority: normal
resolution: accepted
2015-03-14 18:36:25zyasoftsetnosy: + zyasoft
messages: + msg9654
2015-02-17 13:26:44pekka.klarckcreate