View | Details | Raw Unified | Return to bug 147647
Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java (-1 / +3 lines)
Lines 3211-3217 Link Here
3211
					MethodBinding methodToTest = next;
3211
					MethodBinding methodToTest = next;
3212
					if (next instanceof ParameterizedGenericMethodBinding) {
3212
					if (next instanceof ParameterizedGenericMethodBinding) {
3213
						ParameterizedGenericMethodBinding pNext = (ParameterizedGenericMethodBinding) next;
3213
						ParameterizedGenericMethodBinding pNext = (ParameterizedGenericMethodBinding) next;
3214
						if (pNext.isRaw) {
3214
						if (pNext.isRaw && 
3215
								(pNext.modifiers & ClassFileConstants.AccStatic)
3216
									== 0) {
3215
							// hold onto the raw substituted method
3217
							// hold onto the raw substituted method
3216
						} else {
3218
						} else {
3217
							methodToTest = pNext.originalMethod;
3219
							methodToTest = pNext.originalMethod;
(-)src/org/eclipse/jdt/core/tests/compiler/regression/AmbiguousMethodTest.java (-2 / +2 lines)
Lines 884-890 Link Here
884
	// https://bugs.eclipse.org/bugs/show_bug.cgi?id=147647
884
	// https://bugs.eclipse.org/bugs/show_bug.cgi?id=147647
885
	// in fact, <W extends String> Y<W> make(Class<W> clazz) is the most
885
	// in fact, <W extends String> Y<W> make(Class<W> clazz) is the most
886
	// specific method according to JLS 15.12.2.5
886
	// specific method according to JLS 15.12.2.5
887
	public void _test019() {
887
	public void test019() {
888
	this.runConformTest(
888
	this.runConformTest(
889
		new String[] {
889
		new String[] {
890
			"X.java",
890
			"X.java",
Lines 933-939 Link Here
933
	}
933
	}
934
	// https://bugs.eclipse.org/bugs/show_bug.cgi?id=147647
934
	// https://bugs.eclipse.org/bugs/show_bug.cgi?id=147647
935
	// variant: having both methods in the same class should not change anything
935
	// variant: having both methods in the same class should not change anything
936
	public void _test021() {
936
	public void test021() {
937
	this.runConformTest(
937
	this.runConformTest(
938
		new String[] {
938
		new String[] {
939
			"X.java",
939
			"X.java",

Return to bug 147647