-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
Output in System.err 'Two methods with same method #35
Comments
Is there a chance that this could be fixed soon? At least every MyBatis user will get this error message when checking whether a collection is filled. |
To be honest ... I have no idea how to fix that and I think the original authors also didn't take into account that the interfaces could have a real methods some day ... |
The only idea I have is to remove this warning ... right now it's a valid case :) |
It is possible to check whether a method is a default method. Maybe it is possible to add this check to the code. |
but not when using JDK7 as a source target. |
Hi Lukasz, you're absolutely right. Maybe using a logging framework instead of System.err is also an option? Regards, |
The test passes, but there is a message in System.err: Two methods with same method signature but not providing classes assignable? This was originally reported as orphan-oss#35 and temporarily resolved by orphan-oss#40 , but as you can see, this is not an error case in the first place.
Here is a repro:
The above test passes, but the following message is output in System.err.
This was reported on MyBatis tracker a while ago.
The text was updated successfully, but these errors were encountered: