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

Java 7 and Java 8 improvements #3

Closed
wants to merge 4 commits into from

Conversation

scordio
Copy link

@scordio scordio commented Aug 9, 2019

This PR adds Java 7 default method for interface and Java 8 lambdas and method references with tests, plus a fix and a test previously found by Cobertura.

These changes are almost the same as codehaus#3 (cherry-picked commits with minor adjustments as this repo is ahead of codehaus/javancss:master).

@scordio
Copy link
Author

scordio commented Aug 9, 2019

Sorry I underestimated the effort to apply these changes, there is an issue that I do not understand why it is happening and how I should fix it. I am going to close this PR and hopefully the original author will do a better job :-)

@scordio scordio closed this Aug 9, 2019
@hboutemy
Copy link

thanks for trying :)

@ebourg
Copy link
Member

ebourg commented Aug 11, 2019

I think it would be wiser to reuse an existing Java parser, we could pick the one used by the Eclipse Compiler, the Javac parser in OpenJDK, or JavaParser.

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.

4 participants