[logback-dev] [Bug 43] New: size() should be synchronized in LoggerContext

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Sun Feb 4 18:06:09 CET 2007


           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 at qos.ch
        ReportedBy: sdavids at gmx.de

private synchronized void incSize() {

  int size() {
    return size;

The above is not Thread-safe.


  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.

More information about the logback-dev mailing list