[slf4j-dev] [Bug 31] Varargs for Logger methods

bugzilla-daemon at pixie.qos.ch bugzilla-daemon at pixie.qos.ch
Mon Nov 16 11:11:13 CET 2009


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





--- Comment #66 from boci <boci.boci at gmail.com>  2009-11-16 11:11:12 ---
(In reply to comment #65)
> Janos (boci.boci at gmail.com),
> 
> Even if everyone on the planet was using JDK 1.7, SLF4J would still need to
> ensure binary compatibility with previous versions.  
> 
> If in project P you have dependency D1 using slf4j 1.5 and dependency D2 using
> the newest coolest versions of slf4j, say 1.6, then for D1 and D2 to cohabit,
> slf4j versions 1.5 and 1.6 need to be binary compatible. It has little to do
> with the JDK version actually. Before writing that you disagree, read this over
> until you change your mind.
> 

Umm, ok i'm wrong (I try to tell you what I mean when i say "binary compatible
not required". If you change to Object[] to Object... it's transparent
modification. It's "Binary compatible" (old application which use Object[] can
work without any binary(!)/source modification) but not "Java backward
compatible" (java 1.4 application can't use the new coolest slf4j version
because it's binary incompatible(!) (1.5 required)). 


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



More information about the slf4j-dev mailing list