You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@logging.apache.org by Ralph Goers <ra...@dslextreme.com> on 2017/12/02 22:02:33 UTC

SLF4J now requires Java 6

And here you are complaining we haven’t moved to Java 8 as the minimum...

http://slf4j.42922.n3.nabble.com/qos-ch-slf4j-5f0078-slf4j-api-now-requires-Java-6-td4026870.html <http://slf4j.42922.n3.nabble.com/qos-ch-slf4j-5f0078-slf4j-api-now-requires-Java-6-td4026870.html>


Ralph

Re: SLF4J now requires Java 6

Posted by Ralph Goers <ra...@dslextreme.com>.
In theory…

Ralph

> On Dec 3, 2017, at 11:11 AM, Matt Sicker <bo...@gmail.com> wrote:
> 
> Plus the whole multi-version jars feature is super handy for a library like
> Log4j which can add support for each new Java version while maintaining BC
> with older Java releases without having to resort to reflection hacks and
> other dynamic loading.
> 
> On 3 December 2017 at 07:00, Remko Popma <re...@gmail.com> wrote:
> 
>> From Java 9, interfaces can have private methods that can be called from
>> interface default methods. This is to reduce duplicate code in default
>> method implementations.
>> 
>> 
>> 
>>> On Dec 3, 2017, at 20:44, Mikael Ståldal <mi...@apache.org> wrote:
>>> 
>>>> On 2017-12-03 00:24, Matt Sicker wrote:
>>>> It's too bad that Java 8 and 9 added language features
>>>> that would have been immensely useful for maintaining a backwards
>>>> compatible API (default and private methods on interfaces),
>>> 
>>> Did Java 9 add anything more than Java 8 for this?
>> 
> 
> 
> 
> -- 
> Matt Sicker <bo...@gmail.com>



Re: SLF4J now requires Java 6

Posted by Matt Sicker <bo...@gmail.com>.
Plus the whole multi-version jars feature is super handy for a library like
Log4j which can add support for each new Java version while maintaining BC
with older Java releases without having to resort to reflection hacks and
other dynamic loading.

On 3 December 2017 at 07:00, Remko Popma <re...@gmail.com> wrote:

> From Java 9, interfaces can have private methods that can be called from
> interface default methods. This is to reduce duplicate code in default
> method implementations.
>
>
>
> > On Dec 3, 2017, at 20:44, Mikael Ståldal <mi...@apache.org> wrote:
> >
> >> On 2017-12-03 00:24, Matt Sicker wrote:
> >> It's too bad that Java 8 and 9 added language features
> >> that would have been immensely useful for maintaining a backwards
> >> compatible API (default and private methods on interfaces),
> >
> > Did Java 9 add anything more than Java 8 for this?
>



-- 
Matt Sicker <bo...@gmail.com>

Re: SLF4J now requires Java 6

Posted by Remko Popma <re...@gmail.com>.
From Java 9, interfaces can have private methods that can be called from interface default methods. This is to reduce duplicate code in default method implementations. 



> On Dec 3, 2017, at 20:44, Mikael Ståldal <mi...@apache.org> wrote:
> 
>> On 2017-12-03 00:24, Matt Sicker wrote:
>> It's too bad that Java 8 and 9 added language features
>> that would have been immensely useful for maintaining a backwards
>> compatible API (default and private methods on interfaces), 
> 
> Did Java 9 add anything more than Java 8 for this?

Re: SLF4J now requires Java 6

Posted by Mikael Ståldal <mi...@apache.org>.
On 2017-12-03 00:24, Matt Sicker wrote:
> It's too bad that Java 8 and 9 added language features
> that would have been immensely useful for maintaining a backwards
> compatible API (default and private methods on interfaces), 

Did Java 9 add anything more than Java 8 for this?

Re: SLF4J now requires Java 6

Posted by Matt Sicker <bo...@gmail.com>.
Requiring Java 8 minimum would make more sense to start with for Core and
the other modules. It's too bad that Java 8 and 9 added language features
that would have been immensely useful for maintaining a backwards
compatible API (default and private methods on interfaces), though I
suppose that will be more useful in the future century when most
applications have Java 8 or 9 as the minimum.

On 2 December 2017 at 16:02, Ralph Goers <ra...@dslextreme.com> wrote:

> And here you are complaining we haven’t moved to Java 8 as the minimum...
>
> http://slf4j.42922.n3.nabble.com/qos-ch-slf4j-5f0078-slf4j-
> api-now-requires-Java-6-td4026870.html <http://slf4j.42922.n3.nabble.
> com/qos-ch-slf4j-5f0078-slf4j-api-now-requires-Java-6-td4026870.html>
>
>
> Ralph




-- 
Matt Sicker <bo...@gmail.com>