Thanks David, works here now as well. Interestingly, the Eclipse compiler liked the previous version, just the maven build failed. But now it works with both :)
Carsten 2014-09-03 23:38 GMT+02:00 David Jencks <david_jen...@yahoo.com.invalid>: > I have no explanation :-) but I committed the change in r1622362 > > thanks > david jencks > > On Sep 3, 2014, at 11:16 AM, Felix Meschberger <fmesc...@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_jen...@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 <cziege...@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 > >>> cziege...@apache.org > >> > > > > -- Carsten Ziegeler Adobe Research Switzerland cziege...@apache.org