--- a/langtools/src/share/classes/com/sun/tools/javac/tree/JCTree.java Thu Jul 11 10:13:57 2013 -0700
+++ b/langtools/src/share/classes/com/sun/tools/javac/tree/JCTree.java Thu Jul 11 14:07:39 2013 +0100
@@ -641,10 +641,12 @@
polyKind = PolyKind.POLY;
}
- /** target descriptor inferred for this functional expression. */
- public Type descriptorType;
/** list of target types inferred for this functional expression. */
- public List<TypeSymbol> targets;
+ public List<Type> targets;
+
+ public Type getDescriptorType(Types types) {
+ return types.findDescriptorType(targets.head);
+ }
}
/**