There were some compiler changes according to the release notes [1]. Of
particular note is this bug fix [2], which is related to a number of bugs. I
think this may be it.

-Nathan

[1] https://java.sun.com/j2se/1.5.0/ReleaseNotes.html#150_08
[2] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4916620

> -----Original Message-----
> From: Nathan Beyer [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 25, 2006 6:55 PM
> To: harmony-dev@incubator.apache.org
> Subject: [classlib] Sun compiler change?
> 
> 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]                                           ^
> 
> 
> 
> 
> 
> When I compile in Eclipse 3.2 there's no error.
> 
> 
> 
> -Nathan



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to