changeset 2486:cc5933483c1a

Merge
author henryjen
date Fri, 11 Oct 2013 17:51:08 -0700
parents 5a05c8801ecb
children 0fde5fa9febf
files src/share/classes/com/sun/tools/javac/comp/DeferredAttr.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/javac/comp/DeferredAttr.java	Fri Oct 11 15:29:02 2013 -0700
+++ b/src/share/classes/com/sun/tools/javac/comp/DeferredAttr.java	Fri Oct 11 17:51:08 2013 -0700
@@ -503,7 +503,7 @@
                 }
             }
         }
-        
+
         /**
          * Get the list of stuck variables that do not depend on the target
          * type - this means that inference will lead to same results during
@@ -511,7 +511,7 @@
          */
         List<Type> targetFreevars() {
             List<Type> freevars = msym.type.getTypeArguments();
-            ListBuffer<Type> targetVars = ListBuffer.lb();
+            ListBuffer<Type> targetVars = new ListBuffer<>();
             outer: for (Type t : inferenceContext.inferencevars) {
                 for (Type t2 : freevars) {
                     if (msym.type.getReturnType().contains(t2) &&