Thanks.  Didn't realize OpenJDK had that issue.  I always thought OpenJDK
was just sun's JDK stripped of all the proprietary bits - didn't realize it
could introduce new bugs.

Don't feel like you need to do this workaround just because I said I was
using OpenJDK - that's just the default install.  I have no qualms about
installing Sun's version (it's just an apt-get away and I'm not a GPL
purist).

On Fri, Mar 13, 2009 at 3:50 AM, John Tamplin <[email protected]> wrote:

> On Fri, Mar 13, 2009 at 3:18 AM, Vitali Lovich <[email protected]> wrote:
>
>> Trying to compile a freshly checked out trunk (on Linux - haven't tried on
>> Windows), and I'm getting
>>
>
> This is a known bug in OpenJDK regarding generic type inference.  A
> workaround is to introduce a temporary variable, or to use Sun's JDK
> instead.
>
> A Sun guy was working on a fix, but it didn't turn out to fix the problem
> and it isn't clear they are going to be able to fix it anytime soon
> (apparently javac and all the older compilers were subtly breaking JLS
> regarding recursive type parameters), so we will probably have to just put
> the workaround in our code.
>
> --
> John A. Tamplin
> Software Engineer (GWT), Google
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to