Two things:
1) Do you have to use a temp, or can you do something
like artifacts. <EmittedArtifact> find(EmittedArtifact.class)?  Or whatever
the syntax is.

2) What's the plan for preventing regressions or new occurrences of this in
the future?

On Sat, Mar 28, 2009 at 11:19 PM, John Tamplin <[email protected]> wrote:

> OpenJDK has some issues inferring generic types in some cases.  There was
> some attempt to address it <http://markmail.org/message/cen3lghawfnnxxgp>,
> but it turned out to be a partial fix and there was some concern that the
> older javac was improperly allowing some of these constructs.
>
> External users are starting to run into this as newer Linux distros are
> moving to OpenJDK for the default Java install, so I think we should go
> ahead and fix it in our code base.  The attached patch, relative to trunk
> r5098, fixes this by adding temporary variables to avoid the bug.
>
> --
> John A. Tamplin
> Software Engineer (GWT), Google
>

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

Reply via email to