[slf4j-user] [POLL] Requiring JDK 1.5 for SLF4J

Ceki Gulcu ceki at qos.ch
Thu Mar 26 18:16:23 CET 2009


Hello all,

SLF4J users have been asking for varags support for a long time. See
http://bugzilla.slf4j.org/show_bug.cgi?id=31 for more details. The
plan is to add varags support in SLF4J version 1.6 to be released later
this year, possibly in October 2009.

The idea is extremely simple. We would replace methods such as:

   // in current API
   public void debug(String msgFormat, Object[] argArray);

with:

   // proposed API for SLF4J 1.6.0
   public void debug(String msgFormat, Object... arg);

Interestingly enough, the proposed change is perfectly compatible with
existing code. In particular, code compiled against SLF4J 1.5.6 or
earlier will run fine against SLF4J 1.6.0 and vice versa, that is
client code compiled with SLF4J 1.6.0 will run fine with SLF4J 1.5.6
and earlier.

The only problem is that the varargs notation requires JDK 1.5. Thus,
we are faced with the question of requiring JDK 1.5 instead of JDK
1.3 in SLF4J.

Do you accept SLF4J dropping JDK 1.3 compatibility and require JDK 1.5
instead?  If you respond, please do so on the user at slf4j mailing list.

This poll is open for 3 months starting from today, March the 26th of
2009.

Many thanks in advance for your feedback.

-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch



More information about the slf4j-user mailing list