-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
In mixed compilation, Java parser can't handle JUnit annotation #20026
Comments
The linked source is ordinary sbt build, in a Java package, with a correct import. That works in a trivial sbt project. |
I successfully reproduced the problem in sbt first before switching to scala-cli. Note that you do have to have both Scala and Java sources. |
No doubt it's one of those things.
|
The plot thickens! The difference between your version and mine is the presence or absence of Which is peculiar, since naturally the original alpakka-kafka code does have a package declaration! So this seems to be rather fragile/subtle... |
@som-snytt when you were looking into this (thank you!), did you discover whether there's a workaround? |
This came up at Lightbend over at akka/alpakka-kafka#1727
Next, I will see if I can construct a reproducer that doesn't involve an external library.
The text was updated successfully, but these errors were encountered: