fusesource / jansi

Jansi is a small java library that allows you to use ANSI escape sequences to format your console output which works even on windows.
http://fusesource.github.io/jansi/
Apache License 2.0
1.12k stars 139 forks source link

concurrency issue #117

Closed leslychao closed 5 years ago

leslychao commented 6 years ago

variables marked as volatile to prevent the value from being cached in the Thread

hboutemy commented 6 years ago

are you sure this is sufficient to fix the issue?

110 fix is more aggressive, by marking a whole method synchronized, which seems more adapted IMHO

gnodet commented 5 years ago

Already fixed by #110