-
Notifications
You must be signed in to change notification settings - Fork 3.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
correctly fix NoClassDefFoundError
in sbt bridge
#10966
Conversation
c8349c7
to
2168dfe
Compare
Oh, I hadn't understood the code sufficiently — there are three possible outcomes here (success, But actually I don't really understand the circumstances under which the |
I don't know either. Only thing I know is that both Scala 2 and Scala 3 compiler checks for Scala 2: scala/src/sbt-bridge/scala/tools/xsbt/CompilerBridge.scala Lines 158 to 160 in 1f34012
If we trust the Java documentation, |
aha, in the context of the JUnit test that was failing,
@Friendseeker should we push that change through? it appears you did something similar in sbt/zinc#1306, where we see: -class TestCallback extends AnalysisCallback2 {
+class TestCallback extends AnalysisCallback3 { |
Yes. I definitely think we should push the change in |
9e12120
to
942284b
Compare
labeling "internal" since the problem this fixes never shipped. |
heh, I meant to just enable auto-merge once CI liked it, but I apparently fat-fingered that I already did |
adjustment to #10964 cc @Friendseeker