View | Details | Raw Unified | Return to bug 262717 | Differences between
and this patch

Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/ast/MessageSend.java (-2 / +1 lines)
Lines 131-137 Link Here
131
	boolean isStatic = codegenBinding.isStatic();
131
	boolean isStatic = codegenBinding.isStatic();
132
	if (isStatic) {
132
	if (isStatic) {
133
		this.receiver.generateCode(currentScope, codeStream, false);
133
		this.receiver.generateCode(currentScope, codeStream, false);
134
		codeStream.recordPositionsFrom(pc, this.sourceStart);
135
	} else if ((this.bits & ASTNode.DepthMASK) != 0 && this.receiver.isImplicitThis()) { // outer access ?
134
	} else if ((this.bits & ASTNode.DepthMASK) != 0 && this.receiver.isImplicitThis()) { // outer access ?
136
		// outer method can be reached through emulation if implicit access
135
		// outer method can be reached through emulation if implicit access
137
		ReferenceBinding targetType = currentScope.enclosingSourceType().enclosingTypeAt((this.bits & ASTNode.DepthMASK) >> ASTNode.DepthSHIFT);
136
		ReferenceBinding targetType = currentScope.enclosingSourceType().enclosingTypeAt((this.bits & ASTNode.DepthMASK) >> ASTNode.DepthSHIFT);
Lines 142-149 Link Here
142
		if ((this.bits & NeedReceiverGenericCast) != 0) {
141
		if ((this.bits & NeedReceiverGenericCast) != 0) {
143
			codeStream.checkcast(this.actualReceiverType);
142
			codeStream.checkcast(this.actualReceiverType);
144
		}
143
		}
145
		codeStream.recordPositionsFrom(pc, this.sourceStart);
146
	}
144
	}
145
	codeStream.recordPositionsFrom(pc, this.sourceStart);
147
	// generate arguments
146
	// generate arguments
148
	generateArguments(this.binding, this.arguments, currentScope, codeStream);
147
	generateArguments(this.binding, this.arguments, currentScope, codeStream);
149
	pc = codeStream.position;
148
	pc = codeStream.position;

Return to bug 262717