2014-05-14 16:50 GMT+02:00 Jonas Trollvik <jon...@gmail.com>:

> However the message is still not gone.
>

That's when building with JDK 8 and source=target=1.7, right?


> [ERROR] The type ModelRequestParameters must implement the inherited
> abstract method Map<String,Object>.replaceAll(BiFunction<? super String,?
> super Object,? extends Object>)
>

In which case, yes, I can still reproduce it with the test case I attached
to https://bugs.eclipse.org/bugs/show_bug.cgi?id=433744 (it was also noted
in the bug description). However, it actually seems to be a problem with
ECJ:
$ java -jar
~/.m2/repository/org/eclipse/jdt/core/compiler/ecj/P20140317-1600/ecj-P20140317-1600.jar
-1.7 -deprecation AnIterator.java
----------
1. ERROR in
/home/pavageau/devs/aspectj/default-method/src/main/java/AnIterator.java
(at line 3)
public class AnIterator implements Iterator<Object> {
             ^^^^^^^^^^
The type AnIterator must implement the inherited abstract method
Iterator<Object>.forEachRemaining(Consumer<? super Object>)
----------
1 problem (1 error)

It compiles fine when using -1.8 instead of -1.7.

I already reported https://bugs.eclipse.org/bugs/show_bug.cgi?id=434118 to
ECJ even though I stumbled upon it through AspectJ, maybe this one should
also be reported (if it hasn't already).

Regards,
Frank
_______________________________________________
aspectj-users mailing list
aspectj-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to