Re: Compile error in GettingStartedRPC (method does not override a method from its superclass)

2008-11-08 Thread Charlie Collins
The exact meaning of @Override is different in Java 6 than it was in Java 5 (in Java 5 it means the superCLASS must have the method, not the super type - in Java 6 types, like an interface in this case, are also allowed - http://blogs.sun.com/ahe/entry/override_snafu). If you are using Java 5 - r

Compile error in GettingStartedRPC (method does not override a method from its superclass)

2008-11-07 Thread hezjing
Hi The following example is described in http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=GettingStartedRPC public class StockPriceServiceImpl extends RemoteServiceServlet implements StockPriceService { @Override public StockPrice[] getPrices(Stri