langtools/src/share/classes/com/sun/tools/javac/comp/Resolve.java
changeset 24293 0d889f759fac
parent 24226 08b586e22328
child 24393 381ade32a034
equal deleted inserted replaced
24292:12414a72f8d2 24293:0d889f759fac
  1550             currentResolutionContext = new MethodResolutionContext();
  1550             currentResolutionContext = new MethodResolutionContext();
  1551             currentResolutionContext.step = prevResolutionContext.step;
  1551             currentResolutionContext.step = prevResolutionContext.step;
  1552             currentResolutionContext.methodCheck =
  1552             currentResolutionContext.methodCheck =
  1553                     prevResolutionContext.methodCheck.mostSpecificCheck(actuals, !allowBoxing);
  1553                     prevResolutionContext.methodCheck.mostSpecificCheck(actuals, !allowBoxing);
  1554             Type mst = instantiate(env, site, m2, null,
  1554             Type mst = instantiate(env, site, m2, null,
  1555                     adjustArgs(types.lowerBounds(types.memberType(site, m1).getParameterTypes()), m1, maxLength, useVarargs), null,
  1555                     adjustArgs(types.cvarLowerBounds(types.memberType(site, m1).getParameterTypes()), m1, maxLength, useVarargs), null,
  1556                     allowBoxing, useVarargs, noteWarner);
  1556                     allowBoxing, useVarargs, noteWarner);
  1557             return mst != null &&
  1557             return mst != null &&
  1558                     !noteWarner.hasLint(Lint.LintCategory.UNCHECKED);
  1558                     !noteWarner.hasLint(Lint.LintCategory.UNCHECKED);
  1559         } finally {
  1559         } finally {
  1560             currentResolutionContext = prevResolutionContext;
  1560             currentResolutionContext = prevResolutionContext;