Bug#602362: libjsr166y-java: FTBFS in sid with type parameters ... cannot be determined error]

Miguel Landaeta miguel at miguel.cc
Thu Nov 4 16:20:11 UTC 2010


tags 602362 + confirmed
thanks

On Thu, Nov 04, 2010 at 06:34:15AM +0100, Fabrice Coutadeur wrote:
> Your package FTBFS in a sid chroot with the following messages:
> ...
> src/main/java/jsr166y/forkjoin/ParallelArray.java:1657: type parameters of <T>jsr166y.forkjoin.Ops.Predicate<T> cannot be determined; no unique maximal instance exists for type variable T with upper bounds S,T
>                  Ops.andPredicate(this.selector, selector));
>                                  ^
> src/main/java/jsr166y/forkjoin/ParallelArray.java:1663: type parameters of <T>jsr166y.forkjoin.Ops.Predicate<T> cannot be determined; no unique maximal instance exists for type variable T with upper bounds S,T
>                  Ops.orPredicate(this.selector, selector));
>                                 ^
> Note: Some input files use unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 2 errors
> 12 warnings
> make[1]: *** [override_jh_build] Error 123

Hi Fabrice,

I can reproduce this bug.

Always it is said to check carefully your code before
blaming some bug in the compiler but this package built
without problems on June with openjdk-6-jdk 6b18-1.8-3
and right now it builds correctly with sun-java6-jdk 6.22-1.

I'm going to need help to find a workaround to fix this.

Cheers,

-- 
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche





More information about the pkg-java-maintainers mailing list