felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com.INVALID>
Subject Re: [SCR] Compilation error when compiling trunk
Date Wed, 03 Sep 2014 21:38:28 GMT
I have no explanation :-) but I committed the change in r1622362

thanks
david jencks

On Sep 3, 2014, at 11:16 AM, Felix Meschberger <fmeschbe@adobe.com> wrote:

> That indeed solved build problems on my box (mac) with both Java 1.7.0_51 and 1.8.0_20.
Without the fix both java versions could not build (with different error messages, interestingly).
> 
> Regards
> Felix
> 
> Am 03.09.2014 um 11:35 schrieb David Jencks <david_jencks@yahoo.com.INVALID>:
> 
>> I don't have this problem on my mac with 
>> java -version
>> java version "1.7.0_25"
>> Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
>> Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)
>> 
>> but someone else mentioned it.  Does replacing the lines with
>> 
>> 671:
>>           m_enablePromise = new Deferred<List<Void>>().resolveWith(Promises.<Void,
Void>all(promises));
>> 
>> 701:
>>           m_disablePromise = new Deferred<List<Void>>().resolveWith(Promises.<Void,
Void>all(promises));
>> 
>> help?
>> 
>> thanks
>> david jencks
>> 
>> On Sep 3, 2014, at 10:04 AM, Carsten Ziegeler <cziegeler@apache.org> wrote:
>> 
>>> Hi,
>>> 
>>> I just tried to compile latest scr and got:
>>> 
>>> ERROR]
>>> /Users/cziegeler/Developer/workspaces/granite/felix/scr/src/main/java/org/apache/felix/scr/impl/config/ConfigurableComponentHolder.java:[671,56]
>>> error: method resolveWith in class Deferred<T> cannot be applied to given
>>> types;
>>> [ERROR]
>>>  T extends Object declared in class Deferred
>>> /Users/cziegeler/Developer/workspaces/granite/felix/scr/src/main/java/org/apache/felix/scr/impl/config/ConfigurableComponentHolder.java:[701,57]
>>> error: method resolveWith in class Deferred<T> cannot be applied to given
>>> types;
>>> 
>>> Is this a known problem?
>>> 
>>> Carsten
>>> 
>>> -- 
>>> Carsten Ziegeler
>>> Adobe Research Switzerland
>>> cziegeler@apache.org
>> 
> 


Mime
View raw message