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

workaround ecj javapoet issue #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

rzpt
Copy link

@rzpt rzpt commented Dec 1, 2022

In ecj, $L combined with an ExecutableElement representing Supplier#get will insert public abstract T get() instead of the intended get().

This could also be a bug with javapoet. I will raise an issue with them.

In ecj, $L combined with an ExecutableElement representing Supplier#get
will insert `public abstract T get() ` instead of the intended `get()`.
@rzpt
Copy link
Author

rzpt commented Dec 1, 2022

Okay, I have confirmed that this is not an issue with javapoet because $L relies on toString() which is not guaranteed to be the same between different compilers.

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.

None yet

1 participant