
http://bugzilla.qos.ch/show_bug.cgi?id=43 Summary: size() should be synchronized in LoggerContext Product: logback-classic Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P1 Component: Other AssignedTo: logback-dev@qos.ch ReportedBy: sdavids@gmx.de private synchronized void incSize() { size++; } int size() { return size; } The above is not Thread-safe. Correct: syncronized int size() { return size; } -- Configure bugmail: http://bugzilla.qos.ch/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.