[
https://issues.apache.org/jira/browse/WAVE-428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14641890#comment-14641890
]
Evan Hughes commented on WAVE-428:
----------------------------------
let us know if you can build with version 7
> Build fails with JDK8
> ---------------------
>
> Key: WAVE-428
> URL: https://issues.apache.org/jira/browse/WAVE-428
> Project: Wave
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 0.4.1
> Environment: JDK1.8.0_40
> Reporter: Balachandran Sivakumar
> Labels: build
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)