Hi,
There is a bug in Eclipse Java Compiler:
Bug 468276 -
[1.8][compiler] JDT compiler reporting ambiguous method, but code compiles fine with Oracle JDK
Can sameone help with solving this bug? Any tips will be helpful, especially for this:
“Till today I haven’t found a compelling strategy to accommodate the Scala type system in a Java compiler. Perhaps people with inside knowledge of Scala type checking can propose an algorithm to detect when method ambiguity is not “real” because of extra safety provided by Scala typing rules.”
–
Best regards,
Bechlegor