-
Notifications
You must be signed in to change notification settings - Fork 127
CoverageAggregator fails java.lang.NoSuchMethodError on Scala 2.13.x #490
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
Comments
Note, another person on the Scoverage Gitter reported the same issue: https://gitter.im/scoverage/scoverage?at=623c7ad06b912423204c90aa |
Thanks for the report @rhass although I don't believe this is actually an issue here but rather in the gradle plugin although I'm not sure without digging in further. However, I've gone ahead and added some tests that call this method in #491 and the 2.13 tests are passing fine. I'd recommend reporting this to the gradle plugin. |
@ckipp01 Interesting! Thanks for adding this as well. I'll open an issue with the Gradle plugin. |
I'll go ahead and close this for now. However if you do find out that it's actually related to core here just report back. |
Describe the bug
Scala 2.13 changed the Array object such that the call
.toSeq
no longer works. I suspect this migration doc is relevant to this issue: https://docs.scala-lang.org/overviews/core/collections-migration-213.htmlIt also appears there isn't any code-coverage for this code path in CoverageAggregator, which may be why this continues to pass tests.
This issue breaks the the gradle-scoverage
.aggregate
method which results in the following stack trace:Expected behavior
The expected behavior is for scoverage to function without issues.
What build tool are you using?
Gradle
Version of scoverage
1.4.11
The text was updated successfully, but these errors were encountered: