Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0
-
None
-
None
Description
CSVPrinter doesn't support multiple threads writing to the same appendable. The class itself is not thread safe and, what's worse, it also invalidates any thread-safety guarantees provided by the underlying appendable, as in one CSVPrinter.print method there are multiple calls to out.append.
OpenCSV does better here: in CSVWriter.writeNext there is one single call to PrintWriter.writer, thus it conveniently propagates PrintWriter thread-safety.
Attachments
Issue Links
- is superceded by
-
CSV-295 Support for parallelism in CSVPrinter
- Resolved