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

Usage of statically called methods can lead to crash of toolchain #3476

Closed
WojciechMazur opened this issue Sep 7, 2023 · 0 comments · Fixed by #3526
Closed

Usage of statically called methods can lead to crash of toolchain #3476

WojciechMazur opened this issue Sep 7, 2023 · 0 comments · Fixed by #3526
Milestone

Comments

@WojciechMazur
Copy link
Contributor

When adding Scala 2.13.12 to the build I've discovered a strange behaviour - the linking of partestJunitTests for Scala 2.13 was crashing in CodeGen due to no information about java.util.ConcurrentMap.computeIfPresent. This method is now available in java.util.Map, however due to #3475 we cannot override it in ConcurrentMap to allow for accessing it statically.
The failure was originating from scala.collection.convert.EqualsTest when converting ConcurrentMapWrapper to Scala collection. However, when extracting to minimization the issue is no longer reproducable.

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 a pull request may close this issue.

1 participant