-
Notifications
You must be signed in to change notification settings - Fork 71
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
X has a different signature in current version #361
Comments
Thank you for the report! |
While indeed the signature is not necessarily part of the typical binary compatibility promise, a changed generic signature can cause problems (e.g. a program without casts throwing If you don't care about those, they are easily silenced with one I would be sad to see the feature (#299) disappear completely. I guess it could be made opt-in. See also #335. |
I think "lack of signatures" on constructors are safe to ignore (by MiMa), so we can do that. I need to still see those type name change errors. I agree that MiMa's scope should include more than LinkageErrors. We can add opt-outs, if need-be. |
Anything that can cause runtime error by a simple JAR swap is a fair game for Mima (migration-manager) to warn. However, given many libraries adopt Mima, it should try to minimize any false positives. |
I agree. Sadly the historic status for MiMa on false positives has been: yeah, they're there (e.g. package private, |
I think the
I've fixed in #345 already. See #364, where I gave an overview and repeated @raboof's suggestion of using |
steps
@xuwei-k reported in https://twitter.com/not_xuwei_k/status/1153731362970644480
problem
https://gist.github.com/xuwei-k/7ec6e97c5af549469ce1f4d59ab80e8a
expectation
Changes to signature should not be reported as an error unless jar-swap can cause linkage error. Mima 0.5.0 is stricter than Scala's bincompat requirements.
@lrytz noted:
The text was updated successfully, but these errors were encountered: