-
Notifications
You must be signed in to change notification settings - Fork 121
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
Why we were auto-invalidating Java sources in every cycle #918
Comments
eed3si9n
added a commit
to eed3si9n/zinc
that referenced
this issue
Sep 13, 2020
Fixes sbt#918 Similar to the way output is included into classpath to implement incremental compilation, this includes the outputted pickle JAR to the compilation after cycleNum > 1. This allows signatures of Java classes to be available during Scala compilation without including Java sources into every cycle.
I tried that with #919 and that might actually be problematic too because the source of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ref #912
steps
I locally fixed over-compilation issue with sbt, and then I discovered an interesting case that explains auto-invalidation of all Java sources.
problem
The second compilation errors as:
expectation
It should work.
notes
Full debug log is here - https://gist.github.com/eed3si9n/02d413dfb7722a7aa707add4f871ae12 starting from line 138.
-Ypickle-java
and-Ypickle-write
at line 164?-Ypickle-java
and-Ypickle-write
at line 216.One thing we could try is to put the early output into the classpath for cycle 2 onwards.
The text was updated successfully, but these errors were encountered: