Problems with Generics in GWT

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Problems with Generics in GWT

Postby pringi » Fri Jul 04, 2008 2:20 am

Hi all!

I'm having problems compiling the following code with GWT.

The code is located in com.company.project.client

Code: Select all
public interface SomeInterface extends Serializable {

          public abstract <X extends Serializable> X getSomeProperty(String property);

}


The following error appears:

X can not be found in source packages


Does anybody have an idea of why this is happening?

Thanks.

I'm using GWT 1.5 and GWT Designer 5 from 20080630 integrated on Eclipse Ganymede.
pringi
 
Posts: 1
Joined: Fri Jul 04, 2008 2:04 am

Re: Problems with Generics in GWT

Postby Eric Clayberg » Fri Jul 04, 2008 3:32 am

We are working on GWT 1.5 support and hope to release it soon.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 3 guests