src/share/classes/com/sun/tools/javac/comp/Resolve.java

changeset 972
694ff82ca68e
parent 971
bfbc197b560f
child 1006
a2d422d480cb
     1.1 --- a/src/share/classes/com/sun/tools/javac/comp/Resolve.java	Tue Apr 12 20:58:06 2011 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/javac/comp/Resolve.java	Wed Apr 13 11:35:43 2011 -0700
     1.3 @@ -346,7 +346,7 @@
     1.4          if (typeargtypes == null) typeargtypes = List.nil();
     1.5          if (mt.tag != FORALL && typeargtypes.nonEmpty()) {
     1.6              // This is not a polymorphic method, but typeargs are supplied
     1.7 -            // which is fine, see JLS3 15.12.2.1
     1.8 +            // which is fine, see JLS 15.12.2.1
     1.9          } else if (mt.tag == FORALL && typeargtypes.nonEmpty()) {
    1.10              ForAll pmt = (ForAll) mt;
    1.11              if (typeargtypes.length() != pmt.tvars.length())
    1.12 @@ -1769,7 +1769,7 @@
    1.13  
    1.14      /**
    1.15       * Resolve an appropriate implicit this instance for t's container.
    1.16 -     * JLS2 8.8.5.1 and 15.9.2
    1.17 +     * JLS 8.8.5.1 and 15.9.2
    1.18       */
    1.19      Type resolveImplicitThis(DiagnosticPosition pos, Env<AttrContext> env, Type t) {
    1.20          return resolveImplicitThis(pos, env, t, false);

mercurial