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

fix: JoinConfigChecker and Scala 3 #32323

Merged
merged 1 commit into from Feb 21, 2024

Conversation

johanandren
Copy link
Member

One classpath scanned entry was anonoymous and encoded to different names on Scala 2.13 and Scala 3, so making it an actual class to keep the name stable.

This particular implementation is actually never reflectively created, but filtering it would require adding a new capability to native-image classpath scanning just for this problem so took the shorter path to fix it.

One classpath scanned entry was anonoymous and encoded to different names
on Scala 2.13 and Scala 3, so making it an actual class to keep the name stable.
@@ -47,7 +47,7 @@
"name" : "<init>"
} ]
}, {
"name" : "akka.cluster.JoinConfigCompatChecker$$anon$1",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be $anon$2 on Scala 3 so tests could never pass on both 2.13 and 3

Copy link
Member

@ennru ennru left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@johanandren johanandren merged commit b5626ec into main Feb 21, 2024
5 checks passed
@johanandren johanandren deleted the wip-fix-native-image-join-config-checker-scala-3 branch February 21, 2024 13:01
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 this pull request may close these issues.

None yet

2 participants