For the first three just change "backend.getObjectUnsafe" to "backend.<V>getObjectUnsafe". For the last one, change "Point.inElement" to "Point.<N>inElement"
There are other problems beyond what you've listed here. I've attached a patch file. -Tad On Wed, Jun 9, 2010 at 3:18 PM, James Purser <[email protected]> wrote: > Just tried building from the latest code pull and got the following > error message: > > > compile: > [javac] Compiling 302 source files to > /home/purserj/wave-devel/wave-protocol-io2010/build/core > [javac] > /home/purserj/wave-devel/wave-protocol-io2010/src/org/waveprotocol/wave/client/common/util/JsoStringMap.java:65: > type parameters of <V>V cannot be determined; no unique maximal > instance exists for type variable V with upper bounds > V,java.lang.Object > [javac] return backend.getObjectUnsafe(key); > [javac] ^ > [javac] > /home/purserj/wave-devel/wave-protocol-io2010/src/org/waveprotocol/wave/client/common/util/JsoStringMap.java:72: > type parameters of <V>V cannot be determined; no unique maximal > instance exists for type variable V with upper bounds > V,java.lang.Object > [javac] return backend.getObjectUnsafe(key); > [javac] ^ > [javac] > /home/purserj/wave-devel/wave-protocol-io2010/src/org/waveprotocol/wave/client/common/util/JsoStringMap.java:80: > type parameters of <V>V cannot be determined; no unique maximal > instance exists for type variable V with upper bounds > V,java.lang.Object > [javac] return backend.getObjectUnsafe(escape(key)); > [javac] ^ > [javac] > /home/purserj/wave-devel/wave-protocol-io2010/src/org/waveprotocol/wave/model/document/util/LineContainers.java:157: > incompatible types > [javac] found : > org.waveprotocol.wave.model.document.util.Point.El<java.lang.Object> > [javac] required: org.waveprotocol.wave.model.document.util.Point<N> > [javac] return Point.inElement(el, nodeAfter); > [javac] ^ > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] Note: Some input files use unchecked or unsafe operations. > [javac] Note: Recompile with -Xlint:unchecked for details. > [javac] 4 errors > > Java Version: SUN 1.6.0_17 > > James Purser > > -- > You received this message because you are subscribed to the Google Groups > "Wave Protocol" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<wave-protocol%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/wave-protocol?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Wave Protocol" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/wave-protocol?hl=en.
google-io2010_rev216_build_fixes.patch
Description: Binary data
