[slf4j-dev] [Bug 313] New: binary compatibility broken from 1.6.4 to 1.6.6

bugzilla-daemon at qos.ch bugzilla-daemon at qos.ch
Fri Feb 28 10:13:24 CET 2014


http://bugzilla.slf4j.org/show_bug.cgi?id=313

          Priority: P5
            Bug ID: 313
          Assignee: slf4j-dev at qos.ch
           Summary: binary compatibility broken from 1.6.4 to 1.6.6
          Severity: enhancement
    Classification: Unclassified
                OS: Linux
          Reporter: tycho.lamerigts at imc.nl
          Hardware: PC
            Status: NEW
           Version: 1.6.x
         Component: Core API
           Product: SLF4J

Several LoggerFactory static fields with INITIALIZATION in the name had their
spelling corrected in slf4j-api version 1.6.6. Because the fields are not
private but have default access, this constitutes a breach of binary
compatibility (see Java Language Specification, section 13.4.8). In theory,
somebody could have written code in the org.slf4j package that relies on these
fields.

It would be good if this binary incompatibility could be documented in the FAQ,
which now incorrectly states that binary compatibility to date has never been
broken.

There are still many libraries out there that use 1.6.x versions. I have a
build system that automatically checks for binary compatibility conflicts. It
reported this one and I wasted some time finding the root cause and
white-listing this conflict. It would have saved me time if this had been
documented in the FAQ.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-dev/attachments/20140228/3d0f00d9/attachment.html>


More information about the slf4j-dev mailing list