1.1 --- a/src/share/classes/com/sun/tools/javac/tree/JCTree.java Thu Jul 11 10:13:57 2013 -0700 1.2 +++ b/src/share/classes/com/sun/tools/javac/tree/JCTree.java Thu Jul 11 14:07:39 2013 +0100 1.3 @@ -641,10 +641,12 @@ 1.4 polyKind = PolyKind.POLY; 1.5 } 1.6 1.7 - /** target descriptor inferred for this functional expression. */ 1.8 - public Type descriptorType; 1.9 /** list of target types inferred for this functional expression. */ 1.10 - public List<TypeSymbol> targets; 1.11 + public List<Type> targets; 1.12 + 1.13 + public Type getDescriptorType(Types types) { 1.14 + return types.findDescriptorType(targets.head); 1.15 + } 1.16 } 1.17 1.18 /**