DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37735>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37735

           Summary: 1.3 compatible sources are binary incompatible with 1.3
                    if compiled with 1.2
           Product: Log4j
           Version: 1.3alpha
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: Other
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Even after cleansing source code using log4j to compile and run cleanly with
log4j 1.3 (alpha 7 or HEAD), the resulting binaries are incompatible (produce
VerifyErrors) when they are compiled against 1.2 (1.2.13rc2) and then run with 
1.3.

Worse, the incompatibility surrounds use of Level with Logger, i.e. rather
common usage.

The problem turns out to be the fact that log4j 1.3 flips the inheritance
hierarchy so that Priority is a subclass of Logger rather than vice versa as was
the case in 1.2.  This drives the class verifier nuts in cases.

I have produced a patch that I believe is quite clean and will attach it.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to