langtools/src/share/classes/com/sun/tools/javac/comp/Lower.java
changeset 8622 4f032629a0fd
parent 8434 afb406fc66fe
child 10201 52da97a48f81
--- a/langtools/src/share/classes/com/sun/tools/javac/comp/Lower.java	Tue Mar 01 12:00:06 2011 -0800
+++ b/langtools/src/share/classes/com/sun/tools/javac/comp/Lower.java	Wed Mar 02 10:56:39 2011 +0000
@@ -2817,8 +2817,8 @@
                     // local class or this() call
                     thisArg = makeThis(tree.meth.pos(), c.type.getEnclosingType().tsym);
                 } else {
-                    // super() call of nested class
-                    thisArg = makeOwnerThis(tree.meth.pos(), c, false);
+                    // super() call of nested class - never pick 'this'
+                    thisArg = makeOwnerThisN(tree.meth.pos(), c, false);
                 }
                 tree.args = tree.args.prepend(thisArg);
             }