felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: Minimum Java version for resolver and framework?
Date Sun, 26 Jul 2015 08:01:26 GMT
Hi Carsten,

indeed, let me take a look.

Thanks,
Regards
JB

On 07/26/2015 09:53 AM, Carsten Ziegeler wrote:
> Am 25.07.15 um 17:51 schrieb Jean-Baptiste Onofré:
>> Hi Carsten,
>>
>> I just built resolver trunk (1.5.0-SNAPSHOT) with Java 1.8 and Maven 3.2.5.
>>
>> What's your issue ?
>>
> Right, it works with 1.8, but it doesnt with 1.7:
>
> I get two compilation failures like this:
> resolver/src/main/java/org/apache/felix/resolver/util/ArrayMap.java:[100,46]
> <anonymous org.apache.felix.resolver.util.ArrayMap$1$1> is not abstract
> and does not override abstract method remove() in java.util.Iterator
>
> so this code really requires Java 8 (default methods in interfaces).
> I guess this is not the intention?
>
> Carsten
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message