Hi Giacomo,

Can you please apply the following patch (it's a 1-line change) and see if
it fixes the issue? If so, I'll prepare a patch for it.  I'd test it myself,
but I'm unable to reproduce the original error (which but I'm fairly sure is
from using an older version of Java 6).  If it doesn't work, let's create an
issue and move discussion over there.

-Dave

On Tue, Mar 22, 2011 at 8:36 AM, James Purser <[email protected]>wrote:

> Yeah, this is a known issue that seems to be affecting some, though not all
> of us.
>
> What version of Java are you using?
>
> On Tue, Mar 22, 2011 at 4:14 AM, Giacomo Piva <[email protected]> wrote:
>
> > Hi all,
> > I'm getting start with google wave protocol and I'm getting this error:
> >
> >    [javac] required: org.waveprotocol.wave.client.scroll.ScrollPanel<?
> > super java.lang.Object>
> >    [javac] found: org.waveprotocol.wave.client.scroll.ProxyScrollPanel
> >    [javac]     return SmartScroller.create(scroller);
> >    [javac]                                ^
> >    [javac] Note: Some input files use or override a deprecated API.
> >    [javac] Note: Recompile with -Xlint:deprecation for details.
> >    [javac] 1 error
> >
> > I'm trying to compile it on Ubuntu server 9.04
> > Some suggestion?
> >
> > Thanks
> >
> > -
> > G.
>
>
>
>
> --
> James Purser
> Collaborynth
> http://collaborynth.com.au
> Mob: +61 406 576 553
> Wave: [email protected]
>
diff --git a/src/org/waveprotocol/wave/client/scroll/ScrollBuilder.java b/src/org/waveprotocol/wave/client/scroll/ScrollBuilder.java
index b99607e..e18353d 100644
--- a/src/org/waveprotocol/wave/client/scroll/ScrollBuilder.java
+++ b/src/org/waveprotocol/wave/client/scroll/ScrollBuilder.java
@@ -32,7 +32,7 @@ public final class ScrollBuilder {
   /**
    * Installs the scrolling feature.
    */
-  public static SmartScroller<? super View> install(WavePanelImpl panel) {
+  public static SmartScroller<View> install(WavePanelImpl panel) {
     ProxyScrollPanel scroller = ProxyScrollPanel.create(panel);
     ScrollHandler.install(panel, scroller);
     return SmartScroller.create(scroller);

Reply via email to