Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #2537 #2693

Closed
Closed

Conversation

kamilkrzywanski
Copy link
Contributor

@kamilkrzywanski kamilkrzywanski commented Jul 8, 2024

What it does

fixes #2537

How to test

Author checklist

@stephan-herrmann
Copy link
Contributor

The build is already failing at compliance 1.8:

[2024-07-08T20:22:38.643Z] org.eclipse.jdt.core.tests.compiler.regression.GenericsRegressionTest#testBug434044_comment36 - 1.8
[2024-07-08T20:22:38.643Z] 		"----------\n" + 
[2024-07-08T20:22:38.643Z] 		"1. ERROR in EclipseJava8Generics.java (at line 28)\n" + 
[2024-07-08T20:22:38.643Z] 		"	final Object propertyValue = typedProperty.getBar().doFoo(null);\n" + 
[2024-07-08T20:22:38.643Z] 		"	                                                    ^^^^^\n" + 
[2024-07-08T20:22:38.643Z] 		"The method doFoo(String) is ambiguous for the type capture#3-of ? extends EclipseJava8Generics.AbstractFoo<?>\n" + 
[2024-07-08T20:22:38.643Z] 		"----------\n"
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

testBug434044_comment36 fails with Java 1.7 JLS since I20240606-1800
2 participants