Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.4.1
-
None
-
JDK1.8.0_40
Description
Running ant get-third-party compile-gwt dist-server on JDK8 results in failures
compile:
[echo] Compiling wave-api-0.6.0
[javac] Compiling 108 source files to /home/bala/play/github/wave/build/src
[javac] /home/bala/play/github/wave/src/org/waveprotocol/wave/model/document/MutableDocument.java:80: warning: [overloads] with(Action) in MutableDocument is potentially ambiguous with <V>with(Method<V>) in MutableDocument
[javac] public void with(Action actionToRunWithDocument);
[javac] ^
[javac] where V is a type-variable:
[javac] V extends Object declared in method <V>with(Method<V>)
[javac] error: warnings found and -Werror specified
[javac] /home/bala/play/github/wave/src/org/waveprotocol/wave/model/document/ObservableMutableDocument.java:54: warning: [overloads] with(Action) in ObservableMutableDocument is potentially ambiguous with <V>with(Method<V>) in ObservableMutableDocument
[javac] public void with(Action actionToRunWithObservableMutableDocument);
[javac] ^
[javac] where V is a type-variable:
[javac] V extends Object declared in method <V>with(Method<V>)
[javac] /home/bala/play/github/wave/src/org/waveprotocol/wave/model/document/indexed/IndexedDocumentImpl.java:1699: warning: [rawtypes] found raw type: ReadableStringMap
[javac] ReadableStringMap annotations = rawInterval.annotations();
[javac] ^
[javac] missing type arguments for generic class ReadableStringMap<V>
[javac] where V is a type-variable:
[javac] V extends Object declared in interface ReadableStringMap
[javac] /home/bala/play/github/wave/src/org/waveprotocol/wave/model/document/indexed/IndexedDocumentImpl.java:1700: warning: [rawtypes] found raw type: ReadableStringMap
[javac] ReadableStringMap diffFromLeft = rawInterval.diffFromLeft();
[javac] ^
[javac] missing type arguments for generic class ReadableStringMap<V>
[javac] where V is a type-variable:
[javac] V extends Object declared in interface ReadableStringMap
[javac] 1 error
[javac] 4 warnings
BUILD FAILED
/home/bala/play/github/wave/build.xml:254: The following error occurred while executing this line:
/home/bala/play/github/wave/build-common.xml:33: The following error occurred while executing this line:
/home/bala/play/github/wave/build-macros.xml:73: Compile failed; see the compiler error output for details.