So our sloppiness was the cause of the problem - good find!
Many thanks
Sven
On 19.03.2016 19:40, Andrea Del Bene wrote:
Looks like it's related to raw type usage. I've fixed these errors
adding a Void type (es: new Link<Void>). As Martin reported the
problem affects also IDEA. Here's what put me on the right track:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=470006
Hi Andrea,
same here :/.
I've tried latest Eclipse version but apparently they are not ready
for Java 8 yet.
Regards
Sven
On 19.03.2016 14:18, Andrea Del Bene wrote:
Hi guys,
lately I have noted a strange error in Eclipse which I think it's a
bug of the IDE related to Java 8 and it's compiler, but I wanted to
ask you if you have the same problem before opening a bug issue on
Eclipse site. It seems that Eclipse can't resolve inherited methods
if a class declares to implement them with an interface with default
method. For example in class ComponentTest at line 181 I get the
error message "The type new Link(){} must implement the inherited
abstract method IGenericComponent.setDefaultModel(IModel)". The
method Eclipse is complaining about is implemented in the base class
Component.
Do you get the same problem if you sue Eclipse?
Thank you.