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

False positive on defaulting an interface/trait implementation #301

Open
dwijnand opened this issue May 14, 2019 · 1 comment
Open

False positive on defaulting an interface/trait implementation #301

dwijnand opened this issue May 14, 2019 · 1 comment
Labels

Comments

@dwijnand
Copy link
Collaborator

Defining the default implementation of an interface/trait implementation in playframework/playframework@ba8b2b6, required excluding the false positive in the subclasses in playframework/playframework@11a502d.

Need to double check with a test that this is indeed a false positive, and then look to fix it.

@dwijnand dwijnand added the bug label May 14, 2019
@dwijnand
Copy link
Collaborator Author

Confirmed. I was running MiMa on scala-library while on JDK 11, where java.util.Enumeration has a defaulted asIterator method, and that was giving a false positive "missing in other version" (forward-compatibility check), which happens because I built scala-library with JDK 11 and (for reasons I'm less sure about) scalac made a invokespecial forwarder to the interface method in Enumeration. That forwarder doesn't exist in the compared-against 2.13.0 classfile. So kind of to do with default methods. Ugh, complicated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant