When using Java 8 to compile groovy-eclipse I get:
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.25.0:compile (default-compile) on project org.codehaus.groovy.eclipse.codeassist.completion: Compilation failure: Compilation failure:
[ERROR] C:\Users\felix\git\groovy-eclipse\ide\org.codehaus.groovy.eclipse.codeassist.completion\src\org\codehaus\groovy\eclipse\codeassist\processors\CharArraySequence.java:[35]
[ERROR] char[] chars() {
[ERROR] ^^^^^^
[ERROR] The return type is incompatible with CharSequence.chars()
[ERROR] 1 problem (1 error)
[ERROR] -> [Help 1]
CharSequence.chars() is a new method that was added in Java 8 and it collides with this implementation.
This also makes me wonder: The "official" build should use a JRE 8 to compile groovy from e46 on, since Eclipse Neon requires that so these errors are detected.
When using Java 8 to compile groovy-eclipse I get:
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:0.25.0:compile (default-compile) on project org.codehaus.groovy.eclipse.codeassist.completion: Compilation failure: Compilation failure:
[ERROR] C:\Users\felix\git\groovy-eclipse\ide\org.codehaus.groovy.eclipse.codeassist.completion\src\org\codehaus\groovy\eclipse\codeassist\processors\CharArraySequence.java:[35]
[ERROR] char[] chars() {
[ERROR] ^^^^^^
[ERROR] The return type is incompatible with CharSequence.chars()
[ERROR] 1 problem (1 error)
[ERROR] -> [Help 1]
CharSequence.chars() is a new method that was added in Java 8 and it collides with this implementation.
This also makes me wonder: The "official" build should use a JRE 8 to compile groovy from e46 on, since Eclipse Neon requires that so these errors are detected.