-
-
Notifications
You must be signed in to change notification settings - Fork 360
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 zinc binary dependencies #1904
Conversation
862e366
to
5f68ded
Compare
About the test failures. I just created which fixes an ordering issue in a test, which just popped up for some days. Once it is merged, we can rebase/merge your PR to get CI green. |
5f68ded
to
c9d2bb6
Compare
I also created which should succeed after we apply this fix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add some details to this PR description. Esp. a motivation for the solution. Also, where does the hard-coded rt.jar
comes from?
Oh, I forgot, this PR indeed seems to fix the issue. #1907 runs successfully. |
Thank you! |
Fix #1901
Sbt use a
MappedFileConverter
, it will converterjdk
internal classes like/module/java.base/java.lang.String
associated with a dummpyrt.jar
.https://github.com/sbt/zinc/blob/57d03412abe3810be5762a8c8e8c55cbf622ed03/internal/zinc-core/src/main/scala/sbt/internal/inc/MappedVirtualFile.scala#L56
And later the
Incremental
will exclude such binary dependencies.https://github.com/sbt/zinc/blob/57d03412abe3810be5762a8c8e8c55cbf622ed03/internal/zinc-core/src/main/scala/sbt/internal/inc/Incremental.scala#L783