[slf4j-dev] [JIRA] Updates for SLF4J-515: write(StringBuilder buf, Throwable t) should be synchronized in slf4j-simple

QOS.CH (JIRA) noreply-jira at qos.ch
Fri Jul 9 02:08:00 CEST 2021


SLF4J / SLF4J-515 [In Progress]
write(StringBuilder buf, Throwable t) should be synchronized in slf4j-simple

==============================

Here's what changed in this issue in the last few minutes.

There is 1 comment.

View or comment on issue using this link
https://jira.qos.ch/browse/SLF4J-515

==============================
 1 comment
------------------------------

Tibor Digaňa on 09/Jul/21 1:56 AM
The internal lock in PrintStream is not documented in the Javadoc. And if someone follows the pattern I mentioned above and if someone picks up the PrintStream lock and reorders two locks then he broke many IT principles and made it intentionally and moved one lock from slf4j to PrintStream and vice versa which is so big and drastic change that he must be aware that he is doing something very nonstandard.


==============================
 This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)



More information about the slf4j-dev mailing list