Hi Vicente, What JDK are you using? It should compile fine with Java 6.
I know that Sun/Oracle's Java 5's type inference is not as good as Java 6, and different compilers have different levels of sophistication (Eclipse's java compiler is usually better). -Dave On Thu, Mar 10, 2011 at 2:21 AM, Vicente J. Ruiz Jurado <v...@ourproject.org > wrote: > Hi, > > After a hg pull && hg update I get this compile error: > > compile: > [javac] Compiling 105 source files to > /home/vjrj/wiab/wave-protocol/build/src > > compile: > [javac] Compiling 236 source files to > /home/vjrj/wiab/wave-protocol/build/src > [javac] > > /home/vjrj/wiab/wave-protocol/src/org/waveprotocol/wave/client/scroll/ScrollBuilder.java:38: > invalid inferred types for M; actual arguments do not conforms to > inferred formal arguments > [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 > > Am I missing something? > > Bests, > -- > Vicente J. Ruiz Jurado > > http://comunes.org > http://ourproject.org > http://homes.ourproject.org/~vjrj/blog > > "Happiness is not achieved by the conscious pursuit of happiness; it is > generally the by-product of other activities." [Aldous Huxley] > > > > > > >