During dev mode (gwt 2.5.1), gwt complaints in the gwt dev mode console 
about a compiler error, mainly:
This error I don't see in Eclipse, using java 1.6.35.

        00:00:55,152 [ERROR] Line 45: Bound mismatch: The generic method 
> createSimpleCheckTracker(FormField<SelectedBooleans>, W, H, N, Form, P, 
> AsyncConfirmer) of type FormFieldMutationFacade is not applicable for the 
> arguments (FormField<SelectedBooleans>, W, H, N, Form, null, null). The 
> inferred type HasSize is not a valid substitute for the bounded parameter 
> <P extends HasSize & HasIndexOf<IsWidget> & HasRemoveAllStart>     




Line 45 is the forward of the first method below to the second method. The 
error concerns the fore last argument which is null (the P generics)...
Any idea why their is a difference in compiler output ?

The code:

public <W extends HasWidgetRead, P extends HasSize & HasIndexOf<IsWidget> & 
> HasRemoveAllStart, H extends HasFlexWidget<W>, N extends HasNextBoolean> 
> ValueChangeFormFieldTracker<SelectedBooleans> createSimpleCheckTracker(final 
> FormField<SelectedBooleans> formField, final W widget, final H hasWidget, 
> final N nextProcessor, final Form form) {
> return createSimpleCheckTracker(formField, widget, hasWidget, 
> nextProcessor, form, null, null);
> }
>
 

> public <W extends HasWidgetRead, P extends HasSize & HasIndexOf<IsWidget> 
> & HasRemoveAllStart, H extends HasFlexWidget<W>, N extends HasNextBoolean> 
> ValueChangeFormFieldTracker<SelectedBooleans> createSimpleCheckTracker(final 
> FormField<SelectedBooleans> formField, final W widget, final H hasWidget, 
> final N nextProcessor, final Form form, final P container, final 
> AsyncConfirmer confirmPerformer) {
>
    ....
>     return ..... 

}



-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to