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

Fix isGenerified to work with anonymous subclasses using the enclosing methods type parameter #1271

Merged
merged 1 commit into from Jun 22, 2022

Conversation

mlichtblau
Copy link
Contributor

Fixes #1270
I go into more detail what the bug is in the ticket, but I also added a test that reproduces it.
I am happy to make additional changes, also to the line in the documentation. I was not sure how to phrase it correctly.
Hope this helps!

@raphw
Copy link
Owner

raphw commented Jun 23, 2022

Seems like Java 8 and older disagrees on the semantics of anonymous classes being generic.

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