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

Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/problem/messages.properties (+1 lines)
Lines 71-76 Link Here
71
80 = The final field {0}.{1} cannot be assigned
71
80 = The final field {0}.{1} cannot be assigned
72
81 = The blank final field {0} may not have been initialized
72
81 = The blank final field {0} may not have been initialized
73
82 = The final field {0} may already have been assigned
73
82 = The final field {0} may already have been assigned
74
83 = {0} cannot be resolved to a variable
74
75
75
90 = The local variable {0} is hiding another local variable defined in an enclosing type scope
76
90 = The local variable {0} is hiding another local variable defined in an enclosing type scope
76
91 = The local variable {0} is hiding a field from type {1}
77
91 = The local variable {0} is hiding a field from type {1}
(-)compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java (-1 / +6 lines)
Lines 6811-6818 Link Here
6811
		SingleNameReference ref = (SingleNameReference) nameRef;
6811
		SingleNameReference ref = (SingleNameReference) nameRef;
6812
		if (isRecoveredName(ref.token)) return;
6812
		if (isRecoveredName(ref.token)) return;
6813
	}
6813
	}
6814
	int problemId = IProblem.UndefinedName;
6815
	if (   (nameRef.bits & Binding.VARIABLE) != 0
6816
		&& (nameRef.bits & Binding.TYPE) == 0) {
6817
		problemId = IProblem.UnresolvedVariable;
6818
	}
6814
	this.handle(
6819
	this.handle(
6815
		IProblem.UndefinedName,
6820
		problemId,
6816
		arguments,
6821
		arguments,
6817
		arguments,
6822
		arguments,
6818
		nameRef.sourceStart,
6823
		nameRef.sourceStart,
(-)compiler/org/eclipse/jdt/core/compiler/IProblem.java (+2 lines)
Lines 357-362 Link Here
357
	int UninitializedBlankFinalField = FieldRelated + 81;
357
	int UninitializedBlankFinalField = FieldRelated + 81;
358
	int DuplicateBlankFinalFieldInitialization = FieldRelated + 82;
358
	int DuplicateBlankFinalFieldInitialization = FieldRelated + 82;
359
359
360
	int UnresolvedVariable = FieldRelated + 83;
361
360
	// variable hiding
362
	// variable hiding
361
	/** @since 3.0 */
363
	/** @since 3.0 */
362
	int LocalVariableHidingLocalVariable = Internal + 90;
364
	int LocalVariableHidingLocalVariable = Internal + 90;

Return to bug 276294