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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to