We are going to need to update the release notes and/or site for 2.6 to
note that the 2.6 is not source compatible with previous releases. I tested
going from 2.5 to 2.6 at work and got:

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /E:/vcs/svn/...XYZ..:[155,15] reference to error is ambiguous
  both method
error(org.apache.logging.log4j.Marker,java.lang.String,java.lang.Object) in
org.apache.logging.log4j.Logger and method
error(java.lang.String,java.lang.Object,java.lang.Object) in
org.apache.logging.log4j.Logger match
[ERROR] /E:/vcs/svn/...XYZ...:[395,15] reference to trace is ambiguous
  both method
trace(org.apache.logging.log4j.Marker,java.lang.String,java.lang.Object) in
org.apache.logging.log4j.Logger and method
trace(java.lang.String,java.lang.Object,java.lang.Object) in
org.apache.logging.log4j.Logger match
[INFO] 2 errors

with source code like:

    public void xyz(final String message, final Throwable t) {
        ...
        logger.error(null, message, t);
        ...
        logger.trace(null, message, t);
        ...
    }

Next time, I'll remember to test with a "real" client.

Gary

-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition
<http://www.manning.com/bauer3/>
JUnit in Action, Second Edition <http://www.manning.com/tahchiev/>
Spring Batch in Action <http://www.manning.com/templier/>
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

Reply via email to