harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Liang <richard.lian...@gmail.com>
Subject Re: [classlib] Sun compiler change?
Date Sat, 26 Aug 2006 15:08:40 GMT


Nathan Beyer wrote:
> Is anyone else using the latest Sun JDK, v5.0 Update 8 on Windows?
>
>  
>
> I'm seeing a compilation error in the LUNI that I don't see with 5.0 Update
> 7. Here's the error I'm getting.
>
>  
>
> compile:
>
>     [mkdir] Created dir:
> C:\dev\harmony\enhanced\classlib\trunk\build\classes
>
>     [javac] Compiling 3173 source files to
> C:\dev\harmony\enhanced\classlib\trun
>
> k\build\classes
>
>     [javac]
> C:\dev\harmony\enhanced\classlib\trunk\modules\luni\src\main\java\ja
>
> va\util\MiniEnumSet.java:78: inconvertible types
>
>     [javac] found   : java.util.Collection<capture of ? extends E>
>
>     [javac] required: java.util.EnumSet<E>
>
>     [javac]             EnumSet<E> set = (EnumSet<E>) collection;
>
>     [javac]                                           ^
>
>  
>   
Yes, I got the same error using  1.5.0_08. Will have a look at it. :-)

Best regards,
Richard

>  
>
> When I compile in Eclipse 3.2 there's no error.
>
>  
>
> -Nathan
>
>
>   

-- 
Richard Liang
China Software Development Lab, IBM 



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message