Community
Participate
Working Groups
BETA_JAVA8: There is an abstraction/modeling problem in that ReferenceExpression implements ReferenceContext (through its parent FunctionalExpression) Only LambdaExpression needs to implement ReferenceContext to trap errors and signal incompatibility during applicability check phase of overload resolution. ReferenceExpressions do not introduce a scope and their congruence with the target type is limited to there being a single compile time declaration with suitable return types and hence these need/should not implement ReferenceContext. Patch will follow shortly.
Fix released here: http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?h=BETA_JAVA8&id=6989ce4249d0c03fe58f852df992efa441f6edc4