Community
Participate
Working Groups
See https://bugs.openjdk.java.net/browse/JDK-8148464 for a situation that ecj accepts, while according to Dan ambiguity should be reported. Here's the example: //--- public interface GenericInterface<V> { void setValue(V value); } public interface TypedInterface { void setValue(Boolean value); } public interface CombinedInterface extends GenericInterface<Boolean>, TypedInterface { default void set(boolean value) { setValue(Boolean.valueOf(value)); } } //--- both methods *would* collapse to being the same method, if generic instantiations should be used. However, 15.12.2.5 requires comparison of erasures instead. - more than one maximally specific method (both are setValue(Boolean)), - different erasures (setValue(Boolean) vs. setValue(Object)) => ambiguity I don't have an intuitive explanation why this code is not kosher, but we should comply with JLS.
bulk move out of 4.8
Bulk move out of 4.9
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.