Skip to content

Fix incremental compilation under Java 8 #5061

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

Merged
merged 1 commit into from
Aug 30, 2018

Conversation

smarter
Copy link
Member

@smarter smarter commented Aug 30, 2018

This restores some code that got removed in
4d394f7 because I thought the bug was
fixed in sbt, but turns out it isn't. Without this commit, doing:

% sbt
> dotty-library-bootstrapped/compile
> exit
% sbt
> dotty-library-bootstrapped/compile

Caused dotty-library-bootstrapped to be compiled twice, because sbt
thinks the JDK has changed. This only happens in Java 8.

This restores some code that got removed in
4d394f7 because I thought the bug was
fixed in sbt, but turns out it isn't. Without this commit, doing:
% sbt
> dotty-library-bootstrapped/compile
> exit
% sbt
> dotty-library-bootstrapped/compile

Caused dotty-library-bootstrapped to be compiled twice, because sbt
thinks the JDK has changed. This only happens in Java 8.
@smarter smarter requested a review from allanrenucci August 30, 2018 14:54
@smarter smarter merged commit bb322b0 into scala:master Aug 30, 2018
@Blaisorblade Blaisorblade deleted the fix-inc-java8 branch August 30, 2018 23:41
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.

2 participants